-
[python] ImportError: No module named requestspython/errors and solved 2017. 11. 26. 14:30
"ImportError: No module named requests"
The 'request' module does not exist.
Please the following command for installation.
$ sudo pip install requests
if pip module is not installed,
please install pip module like below first.
$ sudo apt install python-pip
If you are trying to install requests module and you see the following message:
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python3.5/dist-packages
Just download and install the source code.
That is good for your mental health.
1. Download
$ git clone git://github.com/kennethreitz/requests.git
2. Install
$ cd requests
$ sudo python setup.py install
Reference
http://blog.naver.com/chandong83/220825663204
http://docs.python-requests.org/en/master/user/install/
'python > errors and solved' 카테고리의 다른 글