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

前端 未结 6 751
被撕碎了的回忆
被撕碎了的回忆 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:34

    In Windows it worked for me only after trying the following: 1. Open cmd inside the folder where "requests" is unpacked. (CTRL+SHIFT+right mouse click, choose the appropriate popup menu item) 2. (Here is the path to your pip3.exe)\pip3.exe install requests Done

提交回复
热议问题