简体   繁体   中英

ImportError: No module named psutil

I have successfully installed psutil using:

 pip install psutil 

It works in interactive mode and in the Python IDE, but it shows this error when I run my script through the command prompt.

may be your virtual enviornment has not been activated or you installed it globally but virtual env is active.

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