Avatar of sunhux
sunhux
 asked on

Where to download python requests library

https://github.com/mazen160/struts-pwn/blob/master/README.md

Refer to the above url: I've got python 2.7 installed successfully on my Win XP
ie one of the pre-requisite but still missing  "requests library" :

When I ran the py script in above url, got the error below:  reckon it's due to
the missing requests lib
importError :
  C:\rootc\strut>python struts-pwn.py --check --url 'http://www.google.com'
 Traceback (most recent call last):
   File "struts-pwn.py", line 13, in <module>
     import requests
 ImportError: No module named requests


The closest I got to download the requests lib is the link below but
I have difficulty registering or login via Google:
https://pypi.python.org/pypi/requests/2.7.0

It simply prompts me back for a login id when attempting to register.

Anyone has a ready copy for Win XP (32bit) that can be attached here?

I'll later need the same requests lib for python 3.x
ProgrammingWindows OSPythonScripting Languages

Avatar of undefined
Last Comment
gelonida

8/22/2022 - Mon
sunhux

ASKER
I miss clarifying : when clicking on "Register" button, I kept getting "Page could not be found"

Any other better source to get this?
SOLUTION
David Johnson, CD

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
sunhux

ASKER
Ok, got some progress:

C:\rootc\strut>pip install results
Collecting results
  Could not find a version that satisfies the requirement results (from versions
: )
No matching distribution found for results
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.

C:\rootc\strut>python -m pip install --upgrade pip
Collecting pip
  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
    100% |################################| 1.3MB 40kB/s
Installing collected packages: pip
  Found existing installation: pip 7.1.2
    Uninstalling pip-7.1.2:
      Successfully uninstalled pip-7.1.2

D:\Python27\Scripts>pip.exe install requests
Collecting requests
  Downloading requests-2.13.0-py2.py3-none-any.whl (584kB)
    100% |################################| 593kB 71kB/s
Installing collected packages: requests
Successfully installed requests-2.13.0
sunhux

ASKER
One query:
will pip install on a PC that has to go thru a proxy?
Or it needs to be direct Internet (eg: Broadband at home)?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.