Python : Importerror: No Module Named Requests
I am new to PyDev and Python and trying to run a python program on LiClipse ( version: 2.5.4....) on Windows 7 and seeing this error. This program is importing requests. I am using
Solution 1:
Thanks Busfault. Your response was helpful.
'requests' does not come as default with Python. Need to install separately. One way to install is how busfault suggested above. But for some reasons this was not working for me. I had this error:
C:\opts\Python27>pipinstallrequestsCollectingrequestsCouldnotfindaversionthatsatisfiestherequirementrequests(fromversions:)Nomatchingdistributionfoundforrequests
Hence I resolved it this way:
Download from : https://pypi.python.org/pypi/requests/2.7.0#downloads
Then Unzip and install as : python setup.py install (Make sure Python is in your path)
Post a Comment for "Python : Importerror: No Module Named Requests"