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
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.