1
只有說明我可以找到unix/linux?如何在Windows 7 64下爲python安裝httplib2?
只有說明我可以找到unix/linux?如何在Windows 7 64下爲python安裝httplib2?
如果你不想去通過compile orgy, stranger errors and terror,
pypm install httplib2
cd httplib2-0.6.0
python setup.py install
感謝,運行它使用「設置.py install' - 如果我把'python'放在前面,它只是拋出錯誤'不被識別爲內部或外部命令' 嘗試在python中使用lib: 'o = urllib2.build_opener(urllib2.HTTPCookieProcessor()) NameError:name'urllib2'未定義' – 2011-05-10 22:00:06
@ 4rd2:...'import urllib2'? – 2011-05-10 22:00:41
不工作:-(下面的代碼: '#與HTTPCookieProcessor O = urllib2.build_opener構建揭幕戰(urllib2.HTTPCookieProcessor()) urllib2.install_opener(O)' 剛拋出這個錯誤: 'O =的urllib2。 build_opener(urllib2.HTTPCookieProcessor()) NameError:name'urllib2'未定義' – 2011-05-10 22:06:33