Distutils.errors. Compile Error
Contents |
Sign c/_cffi_backend.c:15:17: fatal error: ffi.h: no such file or directory centos in Pricing Blog Support Search GitHub This
Error Command 'x86_64-linux-gnu-gcc' Failed With Exit Status 1 Cryptography
repository Watch 89 Star 739 Fork 130 bigchaindb/bigchaindb Code Issues 129 build_ext python Pull requests 14 Projects 0 Pulse Graphs New issue Problem on installation of package: distutils.errors.DistutilsError #24 Closed Mec-iS importerror: no module named setuptools_ext opened this Issue Feb 12, 2016 · 2 comments Projects None yet Labels BUG Milestone No milestone Assignees No one assigned 2 participants Mec-iS commented Feb 12, 2016 When trying python3.4 -m pip
Cython Build_ext
install bigchaindb this error display on Ubuntu Trusty 64: File "/usr/lib/python3.4/distutils/command/build_ext.py", line 448, in build_extensions self.build_extension(ext) File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 178, in build_exte nsion _build_ext.build_extension(self,ext) File "/usr/lib/python3.4/distutils/command/build_ext.py", line 503, in build_extension depends=ext.depends) File "/usr/lib/python3.4/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/usr/lib/python3.4/distutils/unixccompiler.py", line 118, in _compile raise CompileError(msg) distutils.errors.CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1025, in run_se tup run_setup(setup_script, args) File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 50, in run_setup lambda: execfile( File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 100, in run return func() File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 52, in
Sign in Pricing Blog Support Search GitHub This repository Watch 44 Star 230 Fork 54 stan-dev/pystan Code Issues 25 Pull fatal error: openssl/opensslv.h: no such file or directory requests 3 Projects 0 Wiki Pulse Graphs New issue distutils.errors.CompileError: command fatal error: openssl/e_os2.h: no such file or directory 'gcc' failed with exit status 1 #245 Open Hart19 opened this Issue Jul 26, 2016 ·
Libffi-dev
3 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants Hart19 commented Jul 26, 2016 Summary: Compilation error https://github.com/bigchaindb/bigchaindb/issues/24 on Pystan 2.9.0.0 Description: Trying to run stan_example.py and get the distutils.errors.CompileError. A previous discussion (219) on this error said it was Cython. I was already running Cython 0.24 but since there was 0.24.1 I upgraded. This upgrade did not resolve my issue. python stan_example.py INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_5afbb95bd3cd8bb6e35e922f39ddb6e2 NOW. Traceback (most recent https://github.com/stan-dev/pystan/issues/245 call last): File "stan_example.py", line 14, in model = pystan.StanModel(model_code = model_code) File "/usr/lib/python2.7/site-packages/pystan/model.py", line 312, in init build_extension.run() File "/usr/lib/python2.7/distutils/command/build_ext.py", line 337, in run self.build_extensions() File "/usr/lib/python2.7/distutils/command/build_ext.py", line 446, in build_extensions self.build_extension(ext) File "/usr/lib/python2.7/distutils/command/build_ext.py", line 496, in build_extension depends=ext.depends) File "/usr/lib/python2.7/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/usr/lib/python2.7/distutils/unixccompiler.py", line 122, in _compile raise CompileError, msg distutils.errors.CompileError: command 'gcc' failed with exit status 1 PyStan Version: Pystan 2.9.0.0 Cython Version: Cython-0.24.1 Python Version: Python 2.7.10 GCC Version: GCC 4.7.2 20130108 Operating System: SuSE 11.4 (x86_64) Stan member ariddell commented Jul 26, 2016 Thanks for the report. A bit more information is needed to figure out what went wrong during compilation. Can you try running: model = pystan.StanModel(model_code = model_code, verbose=True) Hart19 commented Jul 26, 2016 python stan_example.py INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_5afbb95bd3cd8bb6e35e922f39ddb6e2 NOW. INFO:pystan:OS: linux2, Python: 2.7.10 (default, Aug 7 2015, 13:36:07) [GCC 4.7.2 20130108 [gcc-4_7-branch revision 195014]], Cython 0.24.1 Compiling /tmp/tmpnSdfMQ/stanfit4anon_model_5afbb95bd3cd8bb6e35e922f39ddb6e2_7086623867173230264.pyx because it changed. [1/1] Cythonizing /tmp/tm
User List Committer List Help Tracker Documentation Tracker https://bugs.python.org/issue11599 Development Report Tracker Problem Issue11599 classification Title: Useless error message when distutils fails compiling Type: behavior Stage: resolved Components: Distutils Versions: Python 3.4, Python 3.3, Python 2.7 process Status: closed Resolution: fixed Dependencies: Superseder: Assigned To: eric.araujo Nosy fatal error: List: alexis, eric.araujo, pitrou, python-dev, tarek Priority: normal Keywords: patch Created on 2011-03-18 18:33 by pitrou, last changed 2014-03-13 10:03 by eric.araujo. This issue is now closed. Files File name Uploaded Description Edit fix-11599.diff eric.araujo, 2011-08-18 17:10 Messages (10) no such file msg131352 - (view) Author: Antoine Pitrou (pitrou) * Date: 2011-03-18 18:33 Really, can't distutils at least display the command-line that failed to execute? Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/distutils/unixccompiler.py", line 176, in _compile extra_postargs) File "/home/antoine/cpython/default/Lib/distutils/ccompiler.py", line 911, in spawn spawn(cmd, dry_run=self.dry_run) File "/home/antoine/cpython/default/Lib/distutils/spawn.py", line 34, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/home/antoine/cpython/default/Lib/distutils/spawn.py", line 138, in _spawn_posix % (cmd[0], exit_status)) distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/test/test_embed.py", line 42, in test_subinterps exe = self.make_exe("embed1.c") File "/home/antoine/cpython/default/Lib/test/test_embed.py", line 29, in make_exe compiler.compile([srcpath], output_dir=build_dir) File "/home/antoine/cpython/default/Lib/distutils/ccompiler.py", line 576, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/home/antoine/cpython/def