ModuleNotFoundError: No module named 'requests' after pip install

后端 未结 2 1995
青春惊慌失措
青春惊慌失措 2021-01-15 05:02

I know similar questions have been asked before but I couldn\'t find the solution to my problem.

I am getting the following error message after trying to import requ

2条回答
  •  没有蜡笔的小新
    2021-01-15 05:36

    Run this code:

    C:\Users\Jm\PycharmProjects\Test\venv\Scripts\python.exe -m pip install requests
    

    This forces the installation directory to your python install.

    This gives a much different effect than simply python -m pip install requests

提交回复
热议问题