Advertisement
Guest User

Untitled

a guest
Mar 15th, 2017
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 13.12 KB | None | 0 0
  1. (myenv)tara@kanchan-Inspiron-3420:~/taraproject/scripttest/paramiko_test/myenv/paramiko$ pip install paramiko
  2. Downloading/unpacking paramiko
  3.   Downloading paramiko-2.1.2-py2.py3-none-any.whl (172kB): 172kB downloaded
  4. Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /home/tara/taraproject/scripttest/paramiko_test/myenv/lib/python2.7/site-packages (from paramiko)
  5. Downloading/unpacking cryptography>=1.1 (from paramiko)
  6.   Downloading cryptography-1.8.1.tar.gz (423kB): 423kB downloaded
  7.   Running setup.py (path:/home/tara/taraproject/scripttest/paramiko_test/myenv/build/cryptography/setup.py) egg_info for package cryptography
  8.    
  9.     no previously-included directories found matching 'docs/_build'
  10.     warning: no previously-included files matching '*' found under directory 'vectors'
  11. Downloading/unpacking idna>=2.1 (from cryptography>=1.1->paramiko)
  12.   Downloading idna-2.5-py2.py3-none-any.whl (55kB): 55kB downloaded
  13. Downloading/unpacking asn1crypto>=0.21.0 (from cryptography>=1.1->paramiko)
  14.   Downloading asn1crypto-0.21.1-py2.py3-none-any.whl (96kB): 96kB downloaded
  15. Downloading/unpacking packaging (from cryptography>=1.1->paramiko)
  16.   Downloading packaging-16.8-py2.py3-none-any.whl
  17. Downloading/unpacking six>=1.4.1 (from cryptography>=1.1->paramiko)
  18.   Downloading six-1.10.0-py2.py3-none-any.whl
  19. Downloading/unpacking setuptools>=11.3 (from cryptography>=1.1->paramiko)
  20.   Downloading setuptools-34.3.2-py2.py3-none-any.whl (389kB): 389kB downloaded
  21. Downloading/unpacking enum34 (from cryptography>=1.1->paramiko)
  22.   Downloading enum34-1.1.6-py2-none-any.whl
  23. Downloading/unpacking ipaddress (from cryptography>=1.1->paramiko)
  24.   Downloading ipaddress-1.0.18-py2-none-any.whl
  25. Downloading/unpacking cffi>=1.4.1 (from cryptography>=1.1->paramiko)
  26.   Downloading cffi-1.9.1.tar.gz (407kB): 407kB downloaded
  27.   Running setup.py (path:/home/tara/taraproject/scripttest/paramiko_test/myenv/build/cffi/setup.py) egg_info for package cffi
  28.     Package libffi was not found in the pkg-config search path.
  29.     Perhaps you should add the directory containing `libffi.pc'
  30.    to the PKG_CONFIG_PATH environment variable
  31.    No package 'libffi' found
  32.    Package libffi was not found in the pkg-config search path.
  33.    Perhaps you should add the directory containing `libffi.pc'
  34.     to the PKG_CONFIG_PATH environment variable
  35.     No package 'libffi' found
  36.     Package libffi was not found in the pkg-config search path.
  37.     Perhaps you should add the directory containing `libffi.pc'
  38.    to the PKG_CONFIG_PATH environment variable
  39.    No package 'libffi' found
  40.    Package libffi was not found in the pkg-config search path.
  41.    Perhaps you should add the directory containing `libffi.pc'
  42.     to the PKG_CONFIG_PATH environment variable
  43.     No package 'libffi' found
  44.     Package libffi was not found in the pkg-config search path.
  45.     Perhaps you should add the directory containing `libffi.pc'
  46.    to the PKG_CONFIG_PATH environment variable
  47.    No package 'libffi' found
  48.    
  49. Downloading/unpacking pyparsing (from packaging->cryptography>=1.1->paramiko)
  50.  Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB): 56kB downloaded
  51. Downloading/unpacking appdirs>=1.4.0 (from setuptools>=11.3->cryptography>=1.1->paramiko)
  52.  Downloading appdirs-1.4.3-py2.py3-none-any.whl
  53. Downloading/unpacking pycparser (from cffi>=1.4.1->cryptography>=1.1->paramiko)
  54.  Downloading pycparser-2.17.tar.gz (231kB): 231kB downloaded
  55.  Running setup.py (path:/home/tara/taraproject/scripttest/paramiko_test/myenv/build/pycparser/setup.py) egg_info for package pycparser
  56.    
  57.    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
  58.    warning: no previously-included files matching 'lextab.*' found under directory 'tests'
  59.    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
  60.    warning: no previously-included files matching 'lextab.*' found under directory 'examples'
  61. Installing collected packages: paramiko, cryptography, idna, asn1crypto, packaging, six, setuptools, enum34, ipaddress, cffi, pyparsing, appdirs, pycparser
  62.  Running setup.py install for cryptography
  63.    Package libffi was not found in the pkg-config search path.
  64.    Perhaps you should add the directory containing `libffi.pc'
  65.     to the PKG_CONFIG_PATH environment variable
  66.     No package 'libffi' found
  67.     Package libffi was not found in the pkg-config search path.
  68.     Perhaps you should add the directory containing `libffi.pc'
  69.    to the PKG_CONFIG_PATH environment variable
  70.    No package 'libffi' found
  71.    Package libffi was not found in the pkg-config search path.
  72.    Perhaps you should add the directory containing `libffi.pc'
  73.     to the PKG_CONFIG_PATH environment variable
  74.     No package 'libffi' found
  75.     Package libffi was not found in the pkg-config search path.
  76.     Perhaps you should add the directory containing `libffi.pc'
  77.    to the PKG_CONFIG_PATH environment variable
  78.    No package 'libffi' found
  79.    Package libffi was not found in the pkg-config search path.
  80.    Perhaps you should add the directory containing `libffi.pc'
  81.     to the PKG_CONFIG_PATH environment variable
  82.     No package 'libffi' found
  83.     c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
  84.      #include <Python.h>
  85.                         ^
  86.     compilation terminated.
  87.     Traceback (most recent call last):
  88.       File "<string>", line 1, in <module>
  89.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/build/cryptography/setup.py", line 335, in <module>
  90.         **keywords_with_side_effects(sys.argv)
  91.       File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
  92.         _setup_distribution = dist = klass(attrs)
  93.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 239, in __init__
  94.         self.fetch_build_eggs(attrs.pop('setup_requires'))
  95.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
  96.         replace_conflicting=True
  97.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/pkg_resources.py", line 580, in resolve
  98.         dist = best[req.key] = env.best_match(req, ws, installer)
  99.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/pkg_resources.py", line 818, in best_match
  100.         return self.obtain(req, installer) # try and download/install
  101.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/pkg_resources.py", line 830, in obtain
  102.         return installer(requirement)
  103.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
  104.         return cmd.easy_install(req)
  105.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
  106.         return self.install_item(spec, dist.location, tmpdir, deps)
  107.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item
  108.         dists = self.install_eggs(spec, download, tmpdir)
  109.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
  110.         return self.build_and_install(setup_script, setup_base)
  111.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
  112.         self.run_setup(setup_script, setup_base, args)
  113.       File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup
  114.         raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  115.     distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  116.     Complete output from command /home/tara/taraproject/scripttest/paramiko_test/myenv/bin/python -c "import setuptools, tokenize;__file__='/home/tara/taraproject/scripttest/paramiko_test/myenv/build/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-9P3XsQ-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/tara/taraproject/scripttest/paramiko_test/myenv/include/site/python2.7:
  117.     Package libffi was not found in the pkg-config search path.
  118.  
  119. Perhaps you should add the directory containing `libffi.pc'
  120.  
  121. to the PKG_CONFIG_PATH environment variable
  122.  
  123. No package 'libffi' found
  124.  
  125. Package libffi was not found in the pkg-config search path.
  126.  
  127. Perhaps you should add the directory containing `libffi.pc'
  128.  
  129. to the PKG_CONFIG_PATH environment variable
  130.  
  131. No package 'libffi' found
  132.  
  133. Package libffi was not found in the pkg-config search path.
  134.  
  135. Perhaps you should add the directory containing `libffi.pc'
  136.  
  137. to the PKG_CONFIG_PATH environment variable
  138.  
  139. No package 'libffi' found
  140.  
  141. Package libffi was not found in the pkg-config search path.
  142.  
  143. Perhaps you should add the directory containing `libffi.pc'
  144.  
  145. to the PKG_CONFIG_PATH environment variable
  146.  
  147. No package 'libffi' found
  148.  
  149. Package libffi was not found in the pkg-config search path.
  150.  
  151. Perhaps you should add the directory containing `libffi.pc'
  152.  
  153. to the PKG_CONFIG_PATH environment variable
  154.  
  155. No package 'libffi' found
  156.  
  157. c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
  158.  
  159. #include <Python.h>
  160.  
  161.                    ^
  162.  
  163. compilation terminated.
  164.  
  165. Traceback (most recent call last):
  166.  
  167.  File "<string>", line 1, in <module>
  168.  
  169.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/build/cryptography/setup.py", line 335, in <module>
  170.  
  171.    **keywords_with_side_effects(sys.argv)
  172.  
  173.  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
  174.  
  175.    _setup_distribution = dist = klass(attrs)
  176.  
  177.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 239, in __init__
  178.  
  179.    self.fetch_build_eggs(attrs.pop('setup_requires'))
  180.  
  181.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
  182.  
  183.    replace_conflicting=True
  184.  
  185.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/pkg_resources.py", line 580, in resolve
  186.  
  187.    dist = best[req.key] = env.best_match(req, ws, installer)
  188.  
  189.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/pkg_resources.py", line 818, in best_match
  190.  
  191.    return self.obtain(req, installer) # try and download/install
  192.  
  193.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/pkg_resources.py", line 830, in obtain
  194.  
  195.    return installer(requirement)
  196.  
  197.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
  198.  
  199.    return cmd.easy_install(req)
  200.  
  201.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
  202.  
  203.    return self.install_item(spec, dist.location, tmpdir, deps)
  204.  
  205.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in install_item
  206.  
  207.    dists = self.install_eggs(spec, download, tmpdir)
  208.  
  209.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
  210.  
  211.    return self.build_and_install(setup_script, setup_base)
  212.  
  213.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
  214.  
  215.    self.run_setup(setup_script, setup_base, args)
  216.  
  217.  File "/home/tara/taraproject/scripttest/paramiko_test/myenv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup
  218.  
  219.    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  220.  
  221. distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  222.  
  223. ----------------------------------------
  224. Cleaning up...
  225. Command /home/tara/taraproject/scripttest/paramiko_test/myenv/bin/python -c "import setuptools, tokenize;__file__='/home/tara/taraproject/scripttest/paramiko_test/myenv/build/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-9P3XsQ-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/tara/taraproject/scripttest/paramiko_test/myenv/include/site/python2.7 failed with error code 1 in /home/tara/taraproject/scripttest/paramiko_test/myenv/build/cryptography
  226. Storing debug log for failure in /home/tara/.pip/pip.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement