Advertisement
Guest User

Untitled

a guest
Apr 8th, 2017
884
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.20 KB | None | 0 0
  1. apt-get install python-pip
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following extra packages will be installed:
  6. python-colorama python-distlib python-html5lib python-ndg-httpsclient python-pyasn1 python-requests python-setuptools python-urllib3
  7. python-wheel
  8. Suggested packages:
  9. python-genshi doc-base
  10. Recommended packages:
  11. python-dev-all
  12. The following NEW packages will be installed:
  13. python-colorama python-distlib python-html5lib python-ndg-httpsclient python-pip python-pyasn1 python-requests python-setuptools
  14. python-urllib3 python-wheel
  15. 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
  16. Need to get 950 kB of archives.
  17. After this operation, 3,974 kB of additional disk space will be used.
  18. Do you want to continue? [Y/n] y
  19. Get:1 http://debian.mirrors.ovh.net/debian/ jessie/main python-colorama all 0.3.2-1 [20.3 kB]
  20. Get:2 http://debian.mirrors.ovh.net/debian/ jessie/main python-distlib all 0.1.9-1 [113 kB]
  21. Get:3 http://debian.mirrors.ovh.net/debian/ jessie/main python-html5lib all 0.999-3 [84.0 kB]
  22. Get:4 http://debian.mirrors.ovh.net/debian/ jessie/main python-ndg-httpsclient all 0.3.2-1 [20.5 kB]
  23. Get:5 http://debian.mirrors.ovh.net/debian/ jessie/main python-urllib3 all 1.9.1-3 [55.4 kB]
  24. Get:6 http://debian.mirrors.ovh.net/debian/ jessie/main python-requests all 2.4.3-6 [204 kB]
  25. Get:7 http://debian.mirrors.ovh.net/debian/ jessie/main python-setuptools all 5.5.1-1 [242 kB]
  26. Get:8 http://debian.mirrors.ovh.net/debian/ jessie/main python-pip all 1.5.6-5 [114 kB]
  27. Get:9 http://debian.mirrors.ovh.net/debian/ jessie/main python-pyasn1 all 0.1.7-1 [49.3 kB]
  28. Get:10 http://debian.mirrors.ovh.net/debian/ jessie/main python-wheel all 0.24.0-1 [47.5 kB]
  29. Fetched 950 kB in 0s (1,702 kB/s)
  30. Selecting previously unselected package python-colorama.
  31. (Reading database ... 93587 files and directories currently installed.)
  32. Preparing to unpack .../python-colorama_0.3.2-1_all.deb ...
  33. Unpacking python-colorama (0.3.2-1) ...
  34. Selecting previously unselected package python-distlib.
  35. Preparing to unpack .../python-distlib_0.1.9-1_all.deb ...
  36. Unpacking python-distlib (0.1.9-1) ...
  37. Selecting previously unselected package python-html5lib.
  38. Preparing to unpack .../python-html5lib_0.999-3_all.deb ...
  39. Unpacking python-html5lib (0.999-3) ...
  40. Selecting previously unselected package python-ndg-httpsclient.
  41. Preparing to unpack .../python-ndg-httpsclient_0.3.2-1_all.deb ...
  42. Unpacking python-ndg-httpsclient (0.3.2-1) ...
  43. Selecting previously unselected package python-urllib3.
  44. Preparing to unpack .../python-urllib3_1.9.1-3_all.deb ...
  45. Unpacking python-urllib3 (1.9.1-3) ...
  46. Selecting previously unselected package python-requests.
  47. Preparing to unpack .../python-requests_2.4.3-6_all.deb ...
  48. Unpacking python-requests (2.4.3-6) ...
  49. Selecting previously unselected package python-setuptools.
  50. Preparing to unpack .../python-setuptools_5.5.1-1_all.deb ...
  51. Unpacking python-setuptools (5.5.1-1) ...
  52. Selecting previously unselected package python-pip.
  53. Preparing to unpack .../python-pip_1.5.6-5_all.deb ...
  54. Unpacking python-pip (1.5.6-5) ...
  55. Selecting previously unselected package python-pyasn1.
  56. Preparing to unpack .../python-pyasn1_0.1.7-1_all.deb ...
  57. Unpacking python-pyasn1 (0.1.7-1) ...
  58. Selecting previously unselected package python-wheel.
  59. Preparing to unpack .../python-wheel_0.24.0-1_all.deb ...
  60. Unpacking python-wheel (0.24.0-1) ...
  61. Processing triggers for man-db (2.7.0.2-5) ...
  62. Setting up python-colorama (0.3.2-1) ...
  63. Setting up python-distlib (0.1.9-1) ...
  64. Setting up python-html5lib (0.999-3) ...
  65. Setting up python-ndg-httpsclient (0.3.2-1) ...
  66. Setting up python-urllib3 (1.9.1-3) ...
  67. Setting up python-requests (2.4.3-6) ...
  68. Setting up python-setuptools (5.5.1-1) ...
  69. Setting up python-pip (1.5.6-5) ...
  70. Setting up python-pyasn1 (0.1.7-1) ...
  71. Setting up python-wheel (0.24.0-1) ...
  72. Processing triggers for python-support (1.0.15) ...
  73.  
  74.  
  75. root:~# pip install cryptography
  76. Requirement already satisfied (use --upgrade to upgrade): cryptography in /usr/lib/python2.7/dist-packages
  77. Requirement already satisfied (use --upgrade to upgrade): cffi>=0.8 in /usr/lib/python2.7/dist-packages (from cryptography)
  78. Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/dist-packages (from cryptography)
  79. Requirement already satisfied (use --upgrade to upgrade): pycparser in /usr/lib/python2.7/dist-packages (from cffi>=0.8->cryptography)
  80. Cleaning up...
  81.  
  82.  
  83. root:~# pip install cryptography --upgrade
  84. Downloading/unpacking cryptography from https://pypi.python.org/packages/ec/5f/d5bc241d06665eed93cd8d3aa7198024ce7833af7a67f6dc92df94e00588/cryptography-1.8.1.tar.gz#md5=9f28a9c141995cd2300d0976b4fac3fb
  85. Downloading cryptography-1.8.1.tar.gz (423kB): 423kB downloaded
  86. Running setup.py (path:/tmp/pip-build-mfh3Pg/cryptography/setup.py) egg_info for package cryptography
  87.  
  88. no previously-included directories found matching 'docs/_build'
  89. warning: no previously-included files matching '*' found under directory 'vectors'
  90. Downloading/unpacking idna>=2.1 (from cryptography)
  91. Downloading idna-2.5-py2.py3-none-any.whl (55kB): 55kB downloaded
  92. Downloading/unpacking asn1crypto>=0.21.0 (from cryptography)
  93. Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97kB): 97kB downloaded
  94. Downloading/unpacking packaging (from cryptography)
  95. Downloading packaging-16.8-py2.py3-none-any.whl
  96. 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)
  97. Downloading six-1.10.0-py2.py3-none-any.whl
  98. Downloading/unpacking setuptools>=11.3 (from cryptography)
  99. Downloading setuptools-34.4.0-py2.py3-none-any.whl (389kB): 389kB downloaded
  100. Downloading/unpacking enum34 (from cryptography)
  101. Downloading enum34-1.1.6-py2-none-any.whl
  102. Downloading/unpacking ipaddress (from cryptography)
  103. Downloading ipaddress-1.0.18-py2-none-any.whl
  104. Downloading/unpacking cffi>=1.4.1 (from cryptography)
  105. Downloading cffi-1.10.0.tar.gz (418kB): 418kB downloaded
  106. Running setup.py (path:/tmp/pip-build-mfh3Pg/cffi/setup.py) egg_info for package cffi
  107.  
  108. Downloading/unpacking pyparsing (from packaging->cryptography)
  109. Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB): 56kB downloaded
  110. Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography)
  111. Downloading appdirs-1.4.3-py2.py3-none-any.whl
  112. 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)
  113. Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
  114. Running setup.py (path:/tmp/pip-build-mfh3Pg/pycparser/setup.py) egg_info for package pycparser
  115.  
  116. warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
  117. warning: no previously-included files matching 'lextab.*' found under directory 'tests'
  118. warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
  119. warning: no previously-included files matching 'lextab.*' found under directory 'examples'
  120. Installing collected packages: cryptography, idna, asn1crypto, packaging, six, setuptools, enum34, ipaddress, cffi, pyparsing, appdirs, pycparser
  121. Found existing installation: cryptography 0.6.1
  122. Not uninstalling cryptography at /usr/lib/python2.7/dist-packages, owned by OS
  123. Running setup.py install for cryptography
  124.  
  125. Installed /tmp/pip-build-mfh3Pg/cryptography/cffi-1.10.0-py2.7-linux-x86_64.egg
  126. Traceback (most recent call last):
  127. File "<string>", line 1, in <module>
  128. File "/tmp/pip-build-mfh3Pg/cryptography/setup.py", line 335, in <module>
  129. **keywords_with_side_effects(sys.argv)
  130. File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
  131. _setup_distribution = dist = klass(attrs)
  132. File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in __init__
  133. _Distribution.__init__(self,attrs)
  134. File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
  135. self.finalize_options()
  136. File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
  137. ep.load()(self, ep.name, value)
  138. File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
  139. ['__name__'])
  140. ImportError: No module named setuptools_ext
  141. 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:
  142.  
  143.  
  144. Installed /tmp/pip-build-mfh3Pg/cryptography/cffi-1.10.0-py2.7-linux-x86_64.egg
  145.  
  146. Traceback (most recent call last):
  147.  
  148. File "<string>", line 1, in <module>
  149.  
  150. File "/tmp/pip-build-mfh3Pg/cryptography/setup.py", line 335, in <module>
  151.  
  152. **keywords_with_side_effects(sys.argv)
  153.  
  154. File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
  155.  
  156. _setup_distribution = dist = klass(attrs)
  157.  
  158. File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in __init__
  159.  
  160. _Distribution.__init__(self,attrs)
  161.  
  162. File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
  163.  
  164. self.finalize_options()
  165.  
  166. File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
  167.  
  168. ep.load()(self, ep.name, value)
  169.  
  170. File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
  171.  
  172. ['__name__'])
  173.  
  174. ImportError: No module named setuptools_ext
  175.  
  176. ----------------------------------------
  177. Can't roll back cryptography; was not uninstalled
  178. Cleaning up...
  179. 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
  180. Storing debug log for failure in /root/.pip/pip.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement