python - "ImportError: no module named 'requests'" after installing with pip -


i getting importerror : no module named 'requests'.

but have installed requests package using command pip install requests.

on running command pip freeze in command prompt, result is

requests==2.7.0 

so why sort of error happening while running python file?

run in command prompt.

pip list 

check version have installed on system if have old version.

try uninstall package...

pip uninstall requests 

try after install it:

pip install requests 

you can test if pip not job.

easy_install requests 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -