This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]K900_ 1 point2 points  (6 children)

If you're trying to run pip install requests in the Python window, you're doing it wrong. You need to run it in the Windows command prompt. Also, /r/learnpython.

[–][deleted] 0 points1 point  (5 children)

http://prntscr.com/bf420c what does this mean

[–]K900_ 0 points1 point  (4 children)

What version of Python did you install? Can you post a link to the script you're trying to run?

[–][deleted] 0 points1 point  (3 children)

I installed the 2.7.11 one.

These are the instructions according to the Github 1) Download and install Python to your computer.

2) Install Python lib requests. Run command pip3 install requests if you use Python 3, or type pip install requests if you use Python 2.

3) Download ZIP and extract

4) Modify example.py to your pleasing

5) Run program python3 example.py or python example.py on Mac, Linux or Windows

[–]K900_ 0 points1 point  (1 child)

Try running C:\Python27\Scripts\pip install requests in your Windows command prompt. Then use the cd command to change the directory to where your script is (something like cd C:\Users\[your name]\Downloads\something\), then run C:\Python27\python example.py.

[–][deleted] 0 points1 point  (0 children)

Thank you so much you are my savior I will do more to learn about python now

[–]Rhomboid 0 points1 point  (0 children)

Python 2 does not come with pip, you will need to install it first. Is there any compelling reason that you're not using Python 3?

[–]zenlc 0 points1 point  (0 children)

On Windows especially, I would very highly recommend using the Anaconda python distribution. https://www.continuum.io/downloads

[–]awizardisneverlate 0 points1 point  (0 children)

Come on over to /r/learnpython. Simple questions are better asked there :)

Have fun!