You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: Command errored out with exit status 1:
command: /home/parallels/python2-venv/bin/python /home/parallels/python2-venv/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-BCUJpM/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (101 lines):
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting setuptools>=40.6.0
Downloading setuptools-44.1.1-py2.py3-none-any.whl (583 kB)
Collecting wheel
Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting cffi>=1.12
Downloading cffi-1.15.1.tar.gz (508 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/parallels/python2-venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-KJs7p4/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-KJs7p4/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-z2YdXr
cwd: /tmp/pip-install-KJs7p4/cffi/
Complete output (36 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-2.7
creating build/lib.linux-aarch64-2.7/cffi
copying cffi/api.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/model.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/lock.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/error.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/pkgconfig.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/__init__.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-aarch64-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-aarch64-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-aarch64-2.7/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-aarch64-2.7
creating build/temp.linux-aarch64-2.7/c
aarch64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-vvQ8AI/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-aarch64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
2 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi
Failed to build cffi
Installing collected packages: setuptools, wheel, pycparser, cffi
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /home/parallels/python2-venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-KJs7p4/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-KJs7p4/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_HQyio/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-BCUJpM/overlay --compile --install-headers /home/parallels/python2-venv/include/site/python2.7/cffi
cwd: /tmp/pip-install-KJs7p4/cffi/
Complete output (36 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-2.7
creating build/lib.linux-aarch64-2.7/cffi
copying cffi/api.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/model.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/lock.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/error.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/pkgconfig.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/__init__.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-aarch64-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-aarch64-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-aarch64-2.7/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-aarch64-2.7
creating build/temp.linux-aarch64-2.7/c
aarch64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-vvQ8AI/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-aarch64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
2 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/parallels/python2-venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-KJs7p4/cffi/setup.py'"'"'; __file__='"'"'/tmp/pip-install-KJs7p4/cffi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_HQyio/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-BCUJpM/overlay --compile --install-headers /home/parallels/python2-venv/include/site/python2.7/cffi Check the logs for full command output.
----------------------------------------
ERROR: Command errored out with exit status 1: /home/parallels/python2-venv/bin/python /home/parallels/python2-venv/lib/python2.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-BCUJpM/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
By the looks of things, it is because python/pip 2 is no longer supported and running the script in python 2 generates the warnings which the script treats as an error. Has anyone found a work-around?
The text was updated successfully, but these errors were encountered:
I'm having trouble installing Bluto. As far as I can tell, I'm using pip2 and python2.7 (within a virtualenv):
And this is the error I get:
By the looks of things, it is because python/pip 2 is no longer supported and running the script in python 2 generates the warnings which the script treats as an error. Has anyone found a work-around?
The text was updated successfully, but these errors were encountered: