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

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

    I had this error before when I was executing a python3 script, after this:

    sudo pip3 install requests

    the problem solved, If you are using python3, give a shot.

提交回复
热议问题