Link to home
Start Free TrialLog in
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
Avatar of sunhux
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
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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
Avatar of 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)?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial