Python installed module still can’t use it
up vote
0
down vote
favorite
So I am kind of new to Python and I downloaded “Anaconda3”. I added the Anaconda path the my environment variable.
I tried to install
pip3 install keyboard
And when I tried to import keyboard in my program, it says module not found. When I try to install it again, it say Requirement already satisfied.
Am I missing something? I am new to python so I must be doing something wrong here
python python-3.x anaconda
add a comment |
up vote
0
down vote
favorite
So I am kind of new to Python and I downloaded “Anaconda3”. I added the Anaconda path the my environment variable.
I tried to install
pip3 install keyboard
And when I tried to import keyboard in my program, it says module not found. When I try to install it again, it say Requirement already satisfied.
Am I missing something? I am new to python so I must be doing something wrong here
python python-3.x anaconda
2
Are you using python or python3 to run your program? Its quiet possible that python is set default to python2. Try using python3
– Omkar Nath Singh
Nov 11 at 16:20
try using just pip install, and try some other library/module and see if the issue occurs again
– Paritosh Singh
Nov 11 at 16:25
may be that post will helpfuly for you: stackoverflow.com/questions/41060382/…
– Andrey Suglobov
Nov 11 at 16:26
I used "python file.py" and the module worked perfectly, but "file.py" the module doesn't work. I don't understand the difference, can you reply to the post explaining the reason as an answer? thank you
– Jiji Gaming
Nov 11 at 16:29
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
So I am kind of new to Python and I downloaded “Anaconda3”. I added the Anaconda path the my environment variable.
I tried to install
pip3 install keyboard
And when I tried to import keyboard in my program, it says module not found. When I try to install it again, it say Requirement already satisfied.
Am I missing something? I am new to python so I must be doing something wrong here
python python-3.x anaconda
So I am kind of new to Python and I downloaded “Anaconda3”. I added the Anaconda path the my environment variable.
I tried to install
pip3 install keyboard
And when I tried to import keyboard in my program, it says module not found. When I try to install it again, it say Requirement already satisfied.
Am I missing something? I am new to python so I must be doing something wrong here
python python-3.x anaconda
python python-3.x anaconda
asked Nov 11 at 16:17
Jiji Gaming
307
307
2
Are you using python or python3 to run your program? Its quiet possible that python is set default to python2. Try using python3
– Omkar Nath Singh
Nov 11 at 16:20
try using just pip install, and try some other library/module and see if the issue occurs again
– Paritosh Singh
Nov 11 at 16:25
may be that post will helpfuly for you: stackoverflow.com/questions/41060382/…
– Andrey Suglobov
Nov 11 at 16:26
I used "python file.py" and the module worked perfectly, but "file.py" the module doesn't work. I don't understand the difference, can you reply to the post explaining the reason as an answer? thank you
– Jiji Gaming
Nov 11 at 16:29
add a comment |
2
Are you using python or python3 to run your program? Its quiet possible that python is set default to python2. Try using python3
– Omkar Nath Singh
Nov 11 at 16:20
try using just pip install, and try some other library/module and see if the issue occurs again
– Paritosh Singh
Nov 11 at 16:25
may be that post will helpfuly for you: stackoverflow.com/questions/41060382/…
– Andrey Suglobov
Nov 11 at 16:26
I used "python file.py" and the module worked perfectly, but "file.py" the module doesn't work. I don't understand the difference, can you reply to the post explaining the reason as an answer? thank you
– Jiji Gaming
Nov 11 at 16:29
2
2
Are you using python or python3 to run your program? Its quiet possible that python is set default to python2. Try using python3
– Omkar Nath Singh
Nov 11 at 16:20
Are you using python or python3 to run your program? Its quiet possible that python is set default to python2. Try using python3
– Omkar Nath Singh
Nov 11 at 16:20
try using just pip install, and try some other library/module and see if the issue occurs again
– Paritosh Singh
Nov 11 at 16:25
try using just pip install, and try some other library/module and see if the issue occurs again
– Paritosh Singh
Nov 11 at 16:25
may be that post will helpfuly for you: stackoverflow.com/questions/41060382/…
– Andrey Suglobov
Nov 11 at 16:26
may be that post will helpfuly for you: stackoverflow.com/questions/41060382/…
– Andrey Suglobov
Nov 11 at 16:26
I used "python file.py" and the module worked perfectly, but "file.py" the module doesn't work. I don't understand the difference, can you reply to the post explaining the reason as an answer? thank you
– Jiji Gaming
Nov 11 at 16:29
I used "python file.py" and the module worked perfectly, but "file.py" the module doesn't work. I don't understand the difference, can you reply to the post explaining the reason as an answer? thank you
– Jiji Gaming
Nov 11 at 16:29
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Are you running the code with IDLE? If you're running the code on a version of IDLE Python thats different from the Anaconda Python version, the modules installed will not be applicable.
If you are new to python I fully recommend that you dont use Anaconda and use only IDLE for python, this way you don't have to worry about things like environment setup.
I personally found Anaconda extremely user friendly as a new programmer.
– Paritosh Singh
Nov 11 at 16:26
But IDLE - python's default installed editor has basic features that a beginner would need and I have not seen any procedures that may seem confusing for any developer. However my statement was supposed to be just a suggestion.
– Vikhyat Agarwal
Nov 11 at 16:28
Yes looks like I was running the code "IDLE" which I understood it as using cmd to run the script and not using anaconda. and thank you
– Jiji Gaming
Nov 11 at 16:35
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Are you running the code with IDLE? If you're running the code on a version of IDLE Python thats different from the Anaconda Python version, the modules installed will not be applicable.
If you are new to python I fully recommend that you dont use Anaconda and use only IDLE for python, this way you don't have to worry about things like environment setup.
I personally found Anaconda extremely user friendly as a new programmer.
– Paritosh Singh
Nov 11 at 16:26
But IDLE - python's default installed editor has basic features that a beginner would need and I have not seen any procedures that may seem confusing for any developer. However my statement was supposed to be just a suggestion.
– Vikhyat Agarwal
Nov 11 at 16:28
Yes looks like I was running the code "IDLE" which I understood it as using cmd to run the script and not using anaconda. and thank you
– Jiji Gaming
Nov 11 at 16:35
add a comment |
up vote
1
down vote
accepted
Are you running the code with IDLE? If you're running the code on a version of IDLE Python thats different from the Anaconda Python version, the modules installed will not be applicable.
If you are new to python I fully recommend that you dont use Anaconda and use only IDLE for python, this way you don't have to worry about things like environment setup.
I personally found Anaconda extremely user friendly as a new programmer.
– Paritosh Singh
Nov 11 at 16:26
But IDLE - python's default installed editor has basic features that a beginner would need and I have not seen any procedures that may seem confusing for any developer. However my statement was supposed to be just a suggestion.
– Vikhyat Agarwal
Nov 11 at 16:28
Yes looks like I was running the code "IDLE" which I understood it as using cmd to run the script and not using anaconda. and thank you
– Jiji Gaming
Nov 11 at 16:35
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Are you running the code with IDLE? If you're running the code on a version of IDLE Python thats different from the Anaconda Python version, the modules installed will not be applicable.
If you are new to python I fully recommend that you dont use Anaconda and use only IDLE for python, this way you don't have to worry about things like environment setup.
Are you running the code with IDLE? If you're running the code on a version of IDLE Python thats different from the Anaconda Python version, the modules installed will not be applicable.
If you are new to python I fully recommend that you dont use Anaconda and use only IDLE for python, this way you don't have to worry about things like environment setup.
answered Nov 11 at 16:25
Vikhyat Agarwal
420214
420214
I personally found Anaconda extremely user friendly as a new programmer.
– Paritosh Singh
Nov 11 at 16:26
But IDLE - python's default installed editor has basic features that a beginner would need and I have not seen any procedures that may seem confusing for any developer. However my statement was supposed to be just a suggestion.
– Vikhyat Agarwal
Nov 11 at 16:28
Yes looks like I was running the code "IDLE" which I understood it as using cmd to run the script and not using anaconda. and thank you
– Jiji Gaming
Nov 11 at 16:35
add a comment |
I personally found Anaconda extremely user friendly as a new programmer.
– Paritosh Singh
Nov 11 at 16:26
But IDLE - python's default installed editor has basic features that a beginner would need and I have not seen any procedures that may seem confusing for any developer. However my statement was supposed to be just a suggestion.
– Vikhyat Agarwal
Nov 11 at 16:28
Yes looks like I was running the code "IDLE" which I understood it as using cmd to run the script and not using anaconda. and thank you
– Jiji Gaming
Nov 11 at 16:35
I personally found Anaconda extremely user friendly as a new programmer.
– Paritosh Singh
Nov 11 at 16:26
I personally found Anaconda extremely user friendly as a new programmer.
– Paritosh Singh
Nov 11 at 16:26
But IDLE - python's default installed editor has basic features that a beginner would need and I have not seen any procedures that may seem confusing for any developer. However my statement was supposed to be just a suggestion.
– Vikhyat Agarwal
Nov 11 at 16:28
But IDLE - python's default installed editor has basic features that a beginner would need and I have not seen any procedures that may seem confusing for any developer. However my statement was supposed to be just a suggestion.
– Vikhyat Agarwal
Nov 11 at 16:28
Yes looks like I was running the code "IDLE" which I understood it as using cmd to run the script and not using anaconda. and thank you
– Jiji Gaming
Nov 11 at 16:35
Yes looks like I was running the code "IDLE" which I understood it as using cmd to run the script and not using anaconda. and thank you
– Jiji Gaming
Nov 11 at 16:35
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53250668%2fpython-installed-module-still-can-t-use-it%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Are you using python or python3 to run your program? Its quiet possible that python is set default to python2. Try using python3
– Omkar Nath Singh
Nov 11 at 16:20
try using just pip install, and try some other library/module and see if the issue occurs again
– Paritosh Singh
Nov 11 at 16:25
may be that post will helpfuly for you: stackoverflow.com/questions/41060382/…
– Andrey Suglobov
Nov 11 at 16:26
I used "python file.py" and the module worked perfectly, but "file.py" the module doesn't work. I don't understand the difference, can you reply to the post explaining the reason as an answer? thank you
– Jiji Gaming
Nov 11 at 16:29