“ImportError: no module named 'requests'” after installing with pip

前端 未结 6 710
被撕碎了的回忆
被撕碎了的回忆 2021-01-04 01:48

I am getting ImportError : no module named \'requests\'.

But I have installed the requests package using the command pip install req

6条回答
  •  别那么骄傲
    2021-01-04 02:30

    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
    

提交回复
热议问题