简体   繁体   中英

No module named whaaaaat ModuleNotFoundError?

Hey I installed the whaaaaat module with

pip install whaaaaat

https://pypi.org/project/whaaaaat/#installation

but when I try to import it into a python script I get the error

ModuleNotFoundError: No module named 'whaaaaat'

I already googled but I couldn't solve it.

Thanks for any help

You probably has different versions of python installed in your system. as you already said in your comments

"Yes I mean my source file. I execute with python3"

You need to check that pip corresponds to python and not python3

Try installing python3-pip Then use pip3 install whaaat and use python3 filename to excute your file

嘿我通过安装正确的提示工具包版本解决了

pip install prompt_toolkit==1.0.14

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