首页 > 解决方案 > Python: ModuleNotFound Error

问题描述

I downloaded multiple modules (Discord API, cx_Freeze) (pip download, Windows 10) and now I wanted to use them.

But when I want to import them, it says there isn’t any module.

From my former Python using (before resetting computer) I‘ve added a pycache folder and it worked for one module. I‘m not able to reproduce it for other modules. What to do?

标签: pythonpython-3.xapimodulepython-import

解决方案


If you are using python3 then try downloading the library using

pip3 install libname

but if you are using python2 then install the library using

pip2 install libname or just pip install libname

try with these command and reply


推荐阅读