user3654181
user3654181

Reputation: 461

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

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'

Upvotes: 20

Views: 110464

Answers (6)

Zinc Health
Zinc Health

Reputation: 1

After installing python which comes with pip run and exe and input "pip install requests" It should do

Upvotes: 0

accfcx
accfcx

Reputation: 29

I install it by Anaconda:

pip install requests

and there is no error occured like you.

Upvotes: 1

Thirumalreddy_Bandi
Thirumalreddy_Bandi

Reputation: 626

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

Upvotes: 59

Mr Halcolo
Mr Halcolo

Reputation: 83

If you hace problems with the python command only need add the route C:/python34 or the route went you have python installed:

  1. List item
  2. Right click on "My computer"
  3. Click "Properties"
  4. Click "Advanced system settings" in the side panel
  5. Click "Environment Variables"
  6. Click the "New" below system variables
  7. find the path variable and edit
  8. add this variable ;C:\Python34 with the semicolon

now you can run this comand

cd C:\Python34

python -m pip install requests

Upvotes: 1

Bert Blockx
Bert Blockx

Reputation: 21

On Windows 10, use this:

py -m install requests

Upvotes: 1

Jae
Jae

Reputation: 31

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

Upvotes: 3

Related Questions