Advertisement
devpowercover

Untitled

Jul 27th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 17.35 KB | None | 0 0
  1.    
  2.   Running setup.py install for olefile
  3.    
  4.   Running setup.py install for cryptography
  5.     Package libffi was not found in the pkg-config search path.
  6.     Perhaps you should add the directory containing `libffi.pc'
  7.    to the PKG_CONFIG_PATH environment variable
  8.    No package 'libffi' found
  9.    Package libffi was not found in the pkg-config search path.
  10.    Perhaps you should add the directory containing `libffi.pc'
  11.     to the PKG_CONFIG_PATH environment variable
  12.     No package 'libffi' found
  13.     Package libffi was not found in the pkg-config search path.
  14.     Perhaps you should add the directory containing `libffi.pc'
  15.    to the PKG_CONFIG_PATH environment variable
  16.    No package 'libffi' found
  17.    Package libffi was not found in the pkg-config search path.
  18.    Perhaps you should add the directory containing `libffi.pc'
  19.     to the PKG_CONFIG_PATH environment variable
  20.     No package 'libffi' found
  21.     Package libffi was not found in the pkg-config search path.
  22.     Perhaps you should add the directory containing `libffi.pc'
  23.    to the PKG_CONFIG_PATH environment variable
  24.    No package 'libffi' found
  25.    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
  26.     #include <ffi.h>
  27.                     ^
  28.    compilation terminated.
  29.    Traceback (most recent call last):
  30.      File "/usr/lib/python3.5/distutils/unixccompiler.py", line 118, in _compile
  31.        extra_postargs)
  32.      File "/usr/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
  33.        spawn(cmd, dry_run=self.dry_run)
  34.      File "/usr/lib/python3.5/distutils/spawn.py", line 36, in spawn
  35.        _spawn_posix(cmd, search_path, dry_run=dry_run)
  36.      File "/usr/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
  37.        % (cmd, exit_status))
  38.    distutils.errors.DistutilsExecError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  39.    
  40.    During handling of the above exception, another exception occurred:
  41.    
  42.    Traceback (most recent call last):
  43.      File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
  44.        dist.run_commands()
  45.      File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
  46.        self.run_command(cmd)
  47.      File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
  48.        cmd_obj.run()
  49.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 185, in run
  50.        cmd = self.call_command('install_lib', warn_dir=0)
  51.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 171, in call_command
  52.        self.run_command(cmdname)
  53.      File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
  54.        self.distribution.run_command(command)
  55.      File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
  56.        cmd_obj.run()
  57.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/install_lib.py", line 20, in run
  58.        self.build()
  59.      File "/usr/lib/python3.5/distutils/command/install_lib.py", line 109, in build
  60.        self.run_command('build_ext')
  61.      File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
  62.        self.distribution.run_command(command)
  63.      File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
  64.        cmd_obj.run()
  65.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 52, in run
  66.        _build_ext.run(self)
  67.      File "/usr/lib/python3.5/distutils/command/build_ext.py", line 338, in run
  68.        self.build_extensions()
  69.      File "/usr/lib/python3.5/distutils/command/build_ext.py", line 447, in build_extensions
  70.        self._build_extensions_serial()
  71.      File "/usr/lib/python3.5/distutils/command/build_ext.py", line 472, in _build_extensions_serial
  72.        self.build_extension(ext)
  73.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 186, in build_extension
  74.        _build_ext.build_extension(self,ext)
  75.      File "/usr/lib/python3.5/distutils/command/build_ext.py", line 532, in build_extension
  76.        depends=ext.depends)
  77.      File "/usr/lib/python3.5/distutils/ccompiler.py", line 574, in compile
  78.        self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  79.      File "/usr/lib/python3.5/distutils/unixccompiler.py", line 120, in _compile
  80.        raise CompileError(msg)
  81.    distutils.errors.CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  82.    
  83.    During handling of the above exception, another exception occurred:
  84.    
  85.    Traceback (most recent call last):
  86.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1000, in run_setup
  87.        run_setup(setup_script, args)
  88.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/sandbox.py", line 50, in run_setup
  89.        lambda: execfile(
  90.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/sandbox.py", line 100, in run
  91.        return func()
  92.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/sandbox.py", line 52, in <lambda>
  93.        {'__file__':setup_script, '__name__':'__main__'}
  94.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/compat.py", line 78, in execfile
  95.        exec(compile(source, fn, 'exec'), globs, locs)
  96.      File "setup.py", line 232, in <module>
  97.        def run(self):
  98.      File "/usr/lib/python3.5/distutils/core.py", line 163, in setup
  99.        raise SystemExit("error: " + str(msg))
  100.    SystemExit: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  101.    
  102.    During handling of the above exception, another exception occurred:
  103.    
  104.    Traceback (most recent call last):
  105.      File "<string>", line 1, in <module>
  106.      File "/opt/thriive-django-api/env/build/cryptography/setup.py", line 312, in <module>
  107.        **keywords_with_side_effects(sys.argv)
  108.      File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
  109.        _setup_distribution = dist = klass(attrs)
  110.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/dist.py", line 239, in __init__
  111.        self.fetch_build_eggs(attrs.pop('setup_requires'))
  112.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
  113.        replace_conflicting=True
  114.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/pkg_resources.py", line 580, in resolve
  115.        dist = best[req.key] = env.best_match(req, ws, installer)
  116.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/pkg_resources.py", line 818, in best_match
  117.        return self.obtain(req, installer) # try and download/install
  118.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/pkg_resources.py", line 830, in obtain
  119.        return installer(requirement)
  120.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
  121.        return cmd.easy_install(req)
  122.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
  123.        return self.install_item(spec, dist.location, tmpdir, deps)
  124.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 623, in install_item
  125.        dists = self.install_eggs(spec, download, tmpdir)
  126.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
  127.        return self.build_and_install(setup_script, setup_base)
  128.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
  129.        self.run_setup(setup_script, setup_base, args)
  130.      File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup
  131.        raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  132.    distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  133.    Complete output from command /home/osboxes/thriive-django-api/env/bin/python3.5 -c "import setuptools, tokenize;__file__='/opt/thriive-django-api/env/build/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-t_o_06vr-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/osboxes/thriive-django-api/env/include/site/python3.5:
  134.    Package libffi was not found in the pkg-config search path.
  135.  
  136. Perhaps you should add the directory containing `libffi.pc'
  137.  
  138. to the PKG_CONFIG_PATH environment variable
  139.  
  140. No package 'libffi' found
  141.  
  142. Package libffi was not found in the pkg-config search path.
  143.  
  144. Perhaps you should add the directory containing `libffi.pc'
  145.  
  146. to the PKG_CONFIG_PATH environment variable
  147.  
  148. No package 'libffi' found
  149.  
  150. Package libffi was not found in the pkg-config search path.
  151.  
  152. Perhaps you should add the directory containing `libffi.pc'
  153.  
  154. to the PKG_CONFIG_PATH environment variable
  155.  
  156. No package 'libffi' found
  157.  
  158. Package libffi was not found in the pkg-config search path.
  159.  
  160. Perhaps you should add the directory containing `libffi.pc'
  161.  
  162. to the PKG_CONFIG_PATH environment variable
  163.  
  164. No package 'libffi' found
  165.  
  166. Package libffi was not found in the pkg-config search path.
  167.  
  168. Perhaps you should add the directory containing `libffi.pc'
  169.  
  170. to the PKG_CONFIG_PATH environment variable
  171.  
  172. No package 'libffi' found
  173.  
  174. c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
  175.  
  176.  #include <ffi.h>
  177.  
  178.                  ^
  179.  
  180. compilation terminated.
  181.  
  182. Traceback (most recent call last):
  183.  
  184.   File "/usr/lib/python3.5/distutils/unixccompiler.py", line 118, in _compile
  185.  
  186.     extra_postargs)
  187.  
  188.   File "/usr/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
  189.  
  190.     spawn(cmd, dry_run=self.dry_run)
  191.  
  192.   File "/usr/lib/python3.5/distutils/spawn.py", line 36, in spawn
  193.  
  194.     _spawn_posix(cmd, search_path, dry_run=dry_run)
  195.  
  196.   File "/usr/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
  197.  
  198.     % (cmd, exit_status))
  199.  
  200. distutils.errors.DistutilsExecError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  201.  
  202.  
  203.  
  204. During handling of the above exception, another exception occurred:
  205.  
  206.  
  207.  
  208. Traceback (most recent call last):
  209.  
  210.   File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
  211.  
  212.     dist.run_commands()
  213.  
  214.   File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
  215.  
  216.     self.run_command(cmd)
  217.  
  218.   File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
  219.  
  220.     cmd_obj.run()
  221.  
  222.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 185, in run
  223.  
  224.     cmd = self.call_command('install_lib', warn_dir=0)
  225.  
  226.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 171, in call_command
  227.  
  228.     self.run_command(cmdname)
  229.  
  230.   File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
  231.  
  232.     self.distribution.run_command(command)
  233.  
  234.   File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
  235.  
  236.     cmd_obj.run()
  237.  
  238.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/install_lib.py", line 20, in run
  239.  
  240.     self.build()
  241.  
  242.   File "/usr/lib/python3.5/distutils/command/install_lib.py", line 109, in build
  243.  
  244.     self.run_command('build_ext')
  245.  
  246.   File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
  247.  
  248.     self.distribution.run_command(command)
  249.  
  250.   File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
  251.  
  252.     cmd_obj.run()
  253.  
  254.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 52, in run
  255.  
  256.     _build_ext.run(self)
  257.  
  258.   File "/usr/lib/python3.5/distutils/command/build_ext.py", line 338, in run
  259.  
  260.     self.build_extensions()
  261.  
  262.   File "/usr/lib/python3.5/distutils/command/build_ext.py", line 447, in build_extensions
  263.  
  264.     self._build_extensions_serial()
  265.  
  266.   File "/usr/lib/python3.5/distutils/command/build_ext.py", line 472, in _build_extensions_serial
  267.  
  268.     self.build_extension(ext)
  269.  
  270.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 186, in build_extension
  271.  
  272.     _build_ext.build_extension(self,ext)
  273.  
  274.   File "/usr/lib/python3.5/distutils/command/build_ext.py", line 532, in build_extension
  275.  
  276.     depends=ext.depends)
  277.  
  278.   File "/usr/lib/python3.5/distutils/ccompiler.py", line 574, in compile
  279.  
  280.     self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  281.  
  282.   File "/usr/lib/python3.5/distutils/unixccompiler.py", line 120, in _compile
  283.  
  284.     raise CompileError(msg)
  285.  
  286. distutils.errors.CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  287.  
  288.  
  289.  
  290. During handling of the above exception, another exception occurred:
  291.  
  292.  
  293.  
  294. Traceback (most recent call last):
  295.  
  296.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1000, in run_setup
  297.  
  298.     run_setup(setup_script, args)
  299.  
  300.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/sandbox.py", line 50, in run_setup
  301.  
  302.     lambda: execfile(
  303.  
  304.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/sandbox.py", line 100, in run
  305.  
  306.     return func()
  307.  
  308.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/sandbox.py", line 52, in <lambda>
  309.  
  310.     {'__file__':setup_script, '__name__':'__main__'}
  311.  
  312.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/compat.py", line 78, in execfile
  313.  
  314.     exec(compile(source, fn, 'exec'), globs, locs)
  315.  
  316.   File "setup.py", line 232, in <module>
  317.  
  318.     def run(self):
  319.  
  320.   File "/usr/lib/python3.5/distutils/core.py", line 163, in setup
  321.  
  322.     raise SystemExit("error: " + str(msg))
  323.  
  324. SystemExit: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  325.  
  326.  
  327.  
  328. During handling of the above exception, another exception occurred:
  329.  
  330.  
  331.  
  332. Traceback (most recent call last):
  333.  
  334.   File "<string>", line 1, in <module>
  335.  
  336.   File "/opt/thriive-django-api/env/build/cryptography/setup.py", line 312, in <module>
  337.  
  338.     **keywords_with_side_effects(sys.argv)
  339.  
  340.   File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
  341.  
  342.     _setup_distribution = dist = klass(attrs)
  343.  
  344.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/dist.py", line 239, in __init__
  345.  
  346.     self.fetch_build_eggs(attrs.pop('setup_requires'))
  347.  
  348.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
  349.  
  350.     replace_conflicting=True
  351.  
  352.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/pkg_resources.py", line 580, in resolve
  353.  
  354.     dist = best[req.key] = env.best_match(req, ws, installer)
  355.  
  356.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/pkg_resources.py", line 818, in best_match
  357.  
  358.     return self.obtain(req, installer) # try and download/install
  359.  
  360.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/pkg_resources.py", line 830, in obtain
  361.  
  362.     return installer(requirement)
  363.  
  364.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
  365.  
  366.     return cmd.easy_install(req)
  367.  
  368.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
  369.  
  370.     return self.install_item(spec, dist.location, tmpdir, deps)
  371.  
  372.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 623, in install_item
  373.  
  374.     dists = self.install_eggs(spec, download, tmpdir)
  375.  
  376.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
  377.  
  378.     return self.build_and_install(setup_script, setup_base)
  379.  
  380.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
  381.  
  382.     self.run_setup(setup_script, setup_base, args)
  383.  
  384.   File "/home/osboxes/thriive-django-api/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup
  385.  
  386.     raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  387.  
  388. distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  389.  
  390. ----------------------------------------
  391. Cleaning up...
  392. Command /home/osboxes/thriive-django-api/env/bin/python3.5 -c "import setuptools, tokenize;__file__='/opt/thriive-django-api/env/build/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-t_o_06vr-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/osboxes/thriive-django-api/env/include/site/python3.5 failed with error code 1 in /opt/thriive-django-api/env/build/cryptography
  393. Storing debug log for failure in /home/osboxes/.pip/pip.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement