No Such Module Found (pywinhook)
已回答
I need to use pywinhook.
I can download and install it only using the admin Anaconda console from Anaconda Cloud: 'conda install -c conda-forge pywinhook'
pywinhook shows in PyCharm project interpreter as being installed in the environment, but every single time I go to use it in a script I get "no module named pywinhook."
The file path for Anaconda3 is in the environmental variables. Other modules are found no problem.
I only want to use the conda environment.
请先登录再写评论。
Hi,
Please try importing this module from the system terminal (outside of PyCharm) using the same interpreter. Do you have the same problem?
It turned out that the pywinhook needs to be imported using "pyWinhook" with a capital. W. Not mentioned in the pywinhook documentation.
Ok, thanks for letting me know.