简体   繁体   中英

Importing Modules, “No module named x”, even though I have it

The last question I posted, I had faith that this community would find an answer and it did, However, the problem I have today. I am not too hopeful for. I have several modules installed dealing with mouse clicking. I try to import them but it just reads no module named 'pymouse' (example of one I have), I have edited variable paths, change the path of the module, changed the name, install-reinstalled, used different IDEs. and watched SEVERAL videos. And I still can't use a module I installed with pip, However, there is another problem, a singular built-in module to python that I did not need to pip install. doesn't work, Curses, the module, also won't work. and it is the only built-in one that doesn't, I am asking for help. but also why the only modules that don't work are ones I install and ones that deal with mouse clicks, I use spyder as an IDE, python 3. and a newbie. Please help.

Picture of output after me trying to import Pymouse

You need to make sure you installed the modules into the python editor that you are using. If you install it into a different one, the one you are using won't have the module.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM