Resolution for Import Error when trying to import 'Requests'

72 Views Asked by At

I am currently having trouble using requests. I use the import requests command yet I get the import error that says no module named 'requests'.

To install it I first installed SetupTools, then pip and finally used the pip install requests command. This didn't work so I ended up uninstalling and reinstalling (with pip3 and pip3.5 commands) yet it still doesn't work.

I am using python 3.5 which is installed directly to my c:\ drive.

Thank you in advance.

1

There are 1 best solutions below

0
On BEST ANSWER

I resolved this issue by just reinstalling requests to the c: drive (which didn't fully solve it) and then just moving the requests folder to c:\Lib which now works fine and allows me to import it properly.