Python module not found even though “Requirement Already satisfied in Pip”

后端 未结 4 1014
攒了一身酷
攒了一身酷 2020-12-17 20:04

writing some python in OS X, and it\'s saying several packages I installed with pip \"ImportError: no module named requests\"

When running pip install requests

4条回答
  •  难免孤独
    2020-12-17 20:43

    Run in command prompt.

    pip list
    

    Check what version you have installed on your system if you have an old version.

    Try to uninstall the package...

    pip uninstall requests
    

    Try after to install it:

    pip install requests
    

    You can also test if pip does not do the job.

    easy_install requests
    

提交回复
热议问题