F
Ferrous Cranus
Hello from some reason 'http' module is missing and i cannot use pip to install it. please help/ i'am on CentOS v6.4
But up until now i was using 'from http import cookies' in Python 3.3.2
This is the standard library to get cookies from.
import cookielib
import urllib2
also fail to be found.
Code:
File "metrites.py", line 7, in <module>
from http import cookies
ImportError: No module named http
=======================================
root@secure [/home/nikos/www/cgi-bin]# pip install http
Downloading/unpacking http
Downloading http-0.02.tar.gz
Running setup.py egg_info for package http
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip_build_root/http/setup.py", line 3, in <module>
import http
File "./http/__init__.py", line 17, in <module>
from request import Request
ImportError: No module named 'request'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip_build_root/http/setup.py", line 3, in <module>
import http
File "./http/__init__.py", line 17, in <module>
from request import Request
ImportError: No module named 'request'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/http
Storing complete log in /root/.pip/pip.log
root@secure [/home/nikos/www/cgi-bin]#
But up until now i was using 'from http import cookies' in Python 3.3.2
This is the standard library to get cookies from.
import cookielib
import urllib2
also fail to be found.