my code is having an issue in which when i run the program it gives the error message :
ImportError: No module named 'mouse'
this happens even though the module is installed???
Code below:
import mouse
print(mouse.get_position())
my code is having an issue in which when i run the program it gives the error message :
ImportError: No module named 'mouse'
this happens even though the module is installed???
Code below:
import mouse
print(mouse.get_position())
If you are using IDE like PyCharm make sure you download the package on the IDE.
In pycharm go to Setting->Python Interpretor->Click + ->search your package name (in this case mouse) -> install the package
If you can't use the module globally
, please try to install it and use the module using a virtual environment
as an example you can use anaconda
.