Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt-get install python-pip
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- python-colorama python-distlib python-html5lib python-ndg-httpsclient python-pyasn1 python-requests python-setuptools python-urllib3
- python-wheel
- Suggested packages:
- python-genshi doc-base
- Recommended packages:
- python-dev-all
- The following NEW packages will be installed:
- python-colorama python-distlib python-html5lib python-ndg-httpsclient python-pip python-pyasn1 python-requests python-setuptools
- python-urllib3 python-wheel
- 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
- Need to get 950 kB of archives.
- After this operation, 3,974 kB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://debian.mirrors.ovh.net/debian/ jessie/main python-colorama all 0.3.2-1 [20.3 kB]
- Get:2 http://debian.mirrors.ovh.net/debian/ jessie/main python-distlib all 0.1.9-1 [113 kB]
- Get:3 http://debian.mirrors.ovh.net/debian/ jessie/main python-html5lib all 0.999-3 [84.0 kB]
- Get:4 http://debian.mirrors.ovh.net/debian/ jessie/main python-ndg-httpsclient all 0.3.2-1 [20.5 kB]
- Get:5 http://debian.mirrors.ovh.net/debian/ jessie/main python-urllib3 all 1.9.1-3 [55.4 kB]
- Get:6 http://debian.mirrors.ovh.net/debian/ jessie/main python-requests all 2.4.3-6 [204 kB]
- Get:7 http://debian.mirrors.ovh.net/debian/ jessie/main python-setuptools all 5.5.1-1 [242 kB]
- Get:8 http://debian.mirrors.ovh.net/debian/ jessie/main python-pip all 1.5.6-5 [114 kB]
- Get:9 http://debian.mirrors.ovh.net/debian/ jessie/main python-pyasn1 all 0.1.7-1 [49.3 kB]
- Get:10 http://debian.mirrors.ovh.net/debian/ jessie/main python-wheel all 0.24.0-1 [47.5 kB]
- Fetched 950 kB in 0s (1,702 kB/s)
- Selecting previously unselected package python-colorama.
- (Reading database ... 93587 files and directories currently installed.)
- Preparing to unpack .../python-colorama_0.3.2-1_all.deb ...
- Unpacking python-colorama (0.3.2-1) ...
- Selecting previously unselected package python-distlib.
- Preparing to unpack .../python-distlib_0.1.9-1_all.deb ...
- Unpacking python-distlib (0.1.9-1) ...
- Selecting previously unselected package python-html5lib.
- Preparing to unpack .../python-html5lib_0.999-3_all.deb ...
- Unpacking python-html5lib (0.999-3) ...
- Selecting previously unselected package python-ndg-httpsclient.
- Preparing to unpack .../python-ndg-httpsclient_0.3.2-1_all.deb ...
- Unpacking python-ndg-httpsclient (0.3.2-1) ...
- Selecting previously unselected package python-urllib3.
- Preparing to unpack .../python-urllib3_1.9.1-3_all.deb ...
- Unpacking python-urllib3 (1.9.1-3) ...
- Selecting previously unselected package python-requests.
- Preparing to unpack .../python-requests_2.4.3-6_all.deb ...
- Unpacking python-requests (2.4.3-6) ...
- Selecting previously unselected package python-setuptools.
- Preparing to unpack .../python-setuptools_5.5.1-1_all.deb ...
- Unpacking python-setuptools (5.5.1-1) ...
- Selecting previously unselected package python-pip.
- Preparing to unpack .../python-pip_1.5.6-5_all.deb ...
- Unpacking python-pip (1.5.6-5) ...
- Selecting previously unselected package python-pyasn1.
- Preparing to unpack .../python-pyasn1_0.1.7-1_all.deb ...
- Unpacking python-pyasn1 (0.1.7-1) ...
- Selecting previously unselected package python-wheel.
- Preparing to unpack .../python-wheel_0.24.0-1_all.deb ...
- Unpacking python-wheel (0.24.0-1) ...
- Processing triggers for man-db (2.7.0.2-5) ...
- Setting up python-colorama (0.3.2-1) ...
- Setting up python-distlib (0.1.9-1) ...
- Setting up python-html5lib (0.999-3) ...
- Setting up python-ndg-httpsclient (0.3.2-1) ...
- Setting up python-urllib3 (1.9.1-3) ...
- Setting up python-requests (2.4.3-6) ...
- Setting up python-setuptools (5.5.1-1) ...
- Setting up python-pip (1.5.6-5) ...
- Setting up python-pyasn1 (0.1.7-1) ...
- Setting up python-wheel (0.24.0-1) ...
- Processing triggers for python-support (1.0.15) ...
- root:~# pip install cryptography
- Requirement already satisfied (use --upgrade to upgrade): cryptography in /usr/lib/python2.7/dist-packages
- Requirement already satisfied (use --upgrade to upgrade): cffi>=0.8 in /usr/lib/python2.7/dist-packages (from cryptography)
- Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography)
- Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/lib/python2.7/dist-packages (from cffi>=0.8->cryptography)
- Cleaning up...
- root:~# pip install cryptography --upgrade
- Downloading/unpacking cryptography from https://pypi.python.org/packages/ec/5f/d5bc241d06665eed93cd8d3aa7198024ce7833af7a67f6dc92df94e00588/cryptography-1.8.1.tar.gz#md5=9f28a9c141995cd2300d0976b4fac3fb
- Downloading cryptography-1.8.1.tar.gz (423kB): 423kB downloaded
- Running setup.py (path:/tmp/pip-build-mfh3Pg/cryptography/setup.py) egg_info for package cryptography
- no previously-included directories found matching 'docs/_build'
- warning: no previously-included files matching '*' found under directory 'vectors'
- Downloading/unpacking idna>=2.1 (from cryptography)
- Downloading idna-2.5-py2.py3-none-any.whl (55kB): 55kB downloaded
- Downloading/unpacking asn1crypto>=0.21.0 (from cryptography)
- Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97kB): 97kB downloaded
- Downloading/unpacking packaging (from cryptography)
- Downloading packaging-16.8-py2.py3-none-any.whl
- Downloading/unpacking six>=1.4.1 from https://pypi.python.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl#md5=3ab558cf5d4f7a72611d59a81a315dc8 (from cryptography)
- Downloading six-1.10.0-py2.py3-none-any.whl
- Downloading/unpacking setuptools>=11.3 (from cryptography)
- Downloading setuptools-34.4.0-py2.py3-none-any.whl (389kB): 389kB downloaded
- Downloading/unpacking enum34 (from cryptography)
- Downloading enum34-1.1.6-py2-none-any.whl
- Downloading/unpacking ipaddress (from cryptography)
- Downloading ipaddress-1.0.18-py2-none-any.whl
- Downloading/unpacking cffi>=1.4.1 (from cryptography)
- Downloading cffi-1.10.0.tar.gz (418kB): 418kB downloaded
- Running setup.py (path:/tmp/pip-build-mfh3Pg/cffi/setup.py) egg_info for package cffi
- Downloading/unpacking pyparsing (from packaging->cryptography)
- Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB): 56kB downloaded
- Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography)
- Downloading appdirs-1.4.3-py2.py3-none-any.whl
- Downloading/unpacking pycparser from https://pypi.python.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac/pycparser-2.17.tar.gz#md5=ca98dcb50bc1276f230118f6af5a40c7 (from cffi>=1.4.1->cryptography)
- Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
- Running setup.py (path:/tmp/pip-build-mfh3Pg/pycparser/setup.py) egg_info for package pycparser
- warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
- warning: no previously-included files matching 'lextab.*' found under directory 'tests'
- warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
- warning: no previously-included files matching 'lextab.*' found under directory 'examples'
- Installing collected packages: cryptography, idna, asn1crypto, packaging, six, setuptools, enum34, ipaddress, cffi, pyparsing, appdirs, pycparser
- Found existing installation: cryptography 0.6.1
- Not uninstalling cryptography at /usr/lib/python2.7/dist-packages, owned by OS
- Running setup.py install for cryptography
- Installed /tmp/pip-build-mfh3Pg/cryptography/cffi-1.10.0-py2.7-linux-x86_64.egg
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/tmp/pip-build-mfh3Pg/cryptography/setup.py", line 335, in <module>
- **keywords_with_side_effects(sys.argv)
- File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
- _setup_distribution = dist = klass(attrs)
- File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in __init__
- _Distribution.__init__(self,attrs)
- File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
- self.finalize_options()
- File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
- ep.load()(self, ep.name, value)
- File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
- ['__name__'])
- ImportError: No module named setuptools_ext
- Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-mfh3Pg/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-DjZAa_-record/install-record.txt --single-version-externally-managed --compile:
- Installed /tmp/pip-build-mfh3Pg/cryptography/cffi-1.10.0-py2.7-linux-x86_64.egg
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/tmp/pip-build-mfh3Pg/cryptography/setup.py", line 335, in <module>
- **keywords_with_side_effects(sys.argv)
- File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
- _setup_distribution = dist = klass(attrs)
- File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in __init__
- _Distribution.__init__(self,attrs)
- File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
- self.finalize_options()
- File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
- ep.load()(self, ep.name, value)
- File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
- ['__name__'])
- ImportError: No module named setuptools_ext
- ----------------------------------------
- Can't roll back cryptography; was not uninstalled
- Cleaning up...
- Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-mfh3Pg/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-DjZAa_-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-mfh3Pg/cryptography
- Storing debug log for failure in /root/.pip/pip.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement