1

Only instructions I can find refer to unix/linux?

ar.dll
  • 767
  • 4
  • 16
  • 35

2 Answers2

4
cd httplib2-0.6.0
python setup.py install
Zuljin
  • 2,612
  • 17
  • 14
  • thanks, ran it using 'setup.py install' - if i put 'python' in front it just threw the error 'is not recognized as an internal or external command' try to use the lib in python: `o = urllib2.build_opener( urllib2.HTTPCookieProcessor() ) NameError: name 'urllib2' is not defined` – ar.dll May 10 '11 at 22:00
  • not working :-( the following code: `# build opener with HTTPCookieProcessor o = urllib2.build_opener( urllib2.HTTPCookieProcessor() ) urllib2.install_opener( o )` just throws this error: ` o = urllib2.build_opener( urllib2.HTTPCookieProcessor() ) NameError: name 'urllib2' is not defined` – ar.dll May 10 '11 at 22:06
  • @4rd2: You need to import urllib2 before you can use it. If you're new to Python, you might want to look over a tutorial. There are plenty online - here's one: http://diveintopython.org/toc/index.html – Thomas K May 10 '11 at 22:14
3

If you do not want to go through compile orgy, stranger errors and terror,

  1. Install ActivePython (32-bit)
  2. Open Command Prompt and type pypm install httplib2
Community
  • 1
  • 1
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187