|
Edited by liderbug at 2017-6-20 01:55
rangepipc2 4.11.1-sun50iw2 #19
I'm trying to install "butterfly", a terminal via the browser.
# python3 -V
Python 3.5.2
# apt-get install -y python3-pip
ran OK
# pip install butterfly
Collecting butterfly
Using cached butterfly-3.1.5-py2.py3-none-any.whl
Collecting pyOpenSSL (from butterfly)
Using cached pyOpenSSL-17.0.0-py2.py3-none-any.whl
Collecting tornado>=3.2 (from butterfly)
Using cached tornado-4.5.1.tar.gz
Requirement already satisfied: six>=1.5.2 in /usr/local/lib/python2.7/dist-packages (fr
om pyOpenSSL->butterfly)
Collecting cryptography>=1.7 (from pyOpenSSL->butterfly)
Using cached cryptography-1.9.tar.gz
Collecting singledispatch (from tornado>=3.2->butterfly)
Using cached singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting certifi (from tornado>=3.2->butterfly)
Using cached certifi-2017.4.17-py2.py3-none-any.whl
Collecting backports_abc>=0.4 (from tornado>=3.2->butterfly)
Using cached backports_abc-0.5-py2.py3-none-any.whl
Requirement already satisfied: idna>=2.1 in /usr/local/lib/python2.7/dist-packages (fro
m cryptography>=1.7->pyOpenSSL->butterfly)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python2.7/dist-pack
ages (from cryptography>=1.7->pyOpenSSL->butterfly)
Requirement already satisfied: enum34 in /usr/local/lib/python2.7/dist-packages (from c
ryptography>=1.7->pyOpenSSL->butterfly)
Requirement already satisfied: ipaddress in /usr/local/lib/python2.7/dist-packages (fro
m cryptography>=1.7->pyOpenSSL->butterfly)
Collecting cffi>=1.7 (from cryptography>=1.7->pyOpenSSL->butterfly)
Using cached cffi-1.10.0.tar.gz
Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages (fro
m cffi>=1.7->cryptography>=1.7->pyOpenSSL->butterfly)
Installing collected packages: cffi, cryptography, pyOpenSSL, singledispatch, certifi,
backports-abc, tornado, butterfly
Running setup.py install for cffi ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__f
ile__='/tmp/pip-build-isrEa_/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__)
;code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" i
nstall --record /tmp/pip-482f3d-record/install-record.txt --single-version-externally-m
anaged --compile:
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/recompiler.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/__init__.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/lock.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/api.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/error.py -> build/lib.linux-aarch64-2.7/cffi
copying cffi/commontypes.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/_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
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 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -f
no-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi
-I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linu
x-aarch64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-is
rEa_/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
-482f3d-record/install-record.txt --single-version-externally-managed --compile" failed
with error code 1 in /tmp/pip-build-isrEa_/cffi/
----------------------------------------
I've installed on another SBC without a problem. Have I missed something? Is there a
system build problem? How to fix?
Thanks
bug
|
|