Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install requests module in python 3.4 version on windows?

Tags:

What command should I use in command prompt to install requests module in python 3.4 version ???

pip install requests

is not useful to install requests module in python 3.4 version. Because while running the script below error is coming

ImportError : no module named 'requests'

like image 441
user3654181 Avatar asked May 29 '15 18:05

user3654181


People also ask

How do I manually install a Python module in Windows?

Installing Python Packages with Setup.py To install a package that includes a setup.py file, open a command or terminal window and: cd into the root directory where setup.py is located. Enter: python setup.py install.

Is requests included in Python 3?

The Requests library is available for both Python 2 and Python 3 from the Python Package Index (PyPI), and has the following features: Allows you to send HTTP/1.1 PUT, DELETE, HEAD, GET and OPTIONS requests with ease.


2 Answers

python -m pip install requests or py -m pip install requests

like image 67
Thirumalreddy_Bandi Avatar answered Sep 28 '22 08:09

Thirumalreddy_Bandi


On Windows, I found navigating to my Python folder via CMD worked

cd C:\Python36\

and then running the commandline:

python -m pip install requests

like image 37
Jae Avatar answered Sep 28 '22 10:09

Jae