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
and try build from source (first) too. Both methods not working. Only possible solution is install old version via wheel. I would use latest version to get latest models.
# copy-paste the error message here
On red error:
Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6z1mh99y --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel cython>=0.25 cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.4.1" failed with error code 1 in None
-bash: Command: command not found
from beggining, full log:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting spacy
Using cached https://files.pythonhosted.org/packages/63/04/9309749d00a44447c9e93510a3ccb21a37a36a23dbe8b35d09d4d2110094/spacy-2.3.0.tar.gz
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'error'
Complete output from command /usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6z1mh99y --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel cython>=0.25 cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.4.1:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/e9/93/4860cebd5ad3ff2664ad3c966490ccb46e3b88458b2095145bca11727ca4/setuptools-47.3.1-py3-none-any.whl
Collecting wheel
Using cached https://files.pythonhosted.org/packages/8c/23/848298cccf8e40f5bbb59009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl
Collecting cython>=0.25
Using cached https://files.pythonhosted.org/packages/1e/2a/fcb9cf3620a758bc7a1bd4a02eb00722661a658bf9de053894c4dc77596c/Cython-0.29.20-py2.py3-none-any.whl
Collecting cymem<2.1.0,>=2.0.2
Using cached https://www.piwheels.org/simple/cymem/cymem-2.0.3-cp37-cp37m-linux_armv7l.whl
Collecting preshed<3.1.0,>=3.0.2
Using cached https://www.piwheels.org/simple/preshed/preshed-3.0.2-cp37-cp37m-linux_armv7l.whl
Collecting murmurhash<1.1.0,>=0.28.0
Using cached https://www.piwheels.org/simple/murmurhash/murmurhash-1.0.2-cp37-cp37m-linux_armv7l.whl
Collecting thinc==7.4.1
Using cached https://www.piwheels.org/simple/thinc/thinc-7.4.1-cp37-cp37m-linux_armv7l.whl
Collecting srsly<1.1.0,>=0.0.6 (from thinc==7.4.1)
Using cached https://www.piwheels.org/simple/srsly/srsly-1.0.2-cp37-cp37m-linux_armv7l.whl
Collecting blis<0.5.0,>=0.4.0 (from thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/98/5a/f9b8a78e3d1fdde1b0215413d88ab55d907ab81f95b62418a6e9cda30dec/blis-0.4.1.tar.gz
Collecting numpy>=1.7.0 (from thinc==7.4.1)
Using cached https://www.piwheels.org/simple/numpy/numpy-1.19.0-cp37-cp37m-linux_armv7l.whl
Collecting tqdm<5.0.0,>=4.10.0 (from thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/46/62/7663894f67ac5a41a0d8812d78d9d2a9404124051885af9d77dc526fb399/tqdm-4.47.0-py2.py3-none-any.whl
Collecting plac<1.2.0,>=0.9.6 (from thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/86/85/40b8f66c2dd8f4fd9f09d59b22720cffecf1331e788b8a0cab5bafb353d1/plac-1.1.3-py2.py3-none-any.whl
Collecting wasabi<1.1.0,>=0.0.9 (from thinc==7.4.1)
Using cached https://www.piwheels.org/simple/wasabi/wasabi-0.7.0-py3-none-any.whl
Collecting catalogue<1.1.0,>=0.0.7 (from thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/6c/f9/9a5658e2f56932e41eb264941f9a2cb7f3ce41a80cb36b2af6ab78e2f8af/catalogue-1.0.0-py2.py3-none-any.whl
Collecting importlib-metadata>=0.20; python_version < "3.8" (from catalogue<1.1.0,>=0.0.7->thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/8e/58/cdea07eb51fc2b906db0968a94700866fc46249bdc75cac23f9d13168929/importlib_metadata-1.7.0-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata>=0.20; python_version < "3.8"->catalogue<1.1.0,>=0.0.7->thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/b2/34/bfcb43cc0ba81f527bc4f40ef41ba2ff4080e047acb0586b56b3d017ace4/zipp-3.1.0-py3-none-any.whl
Building wheels for collected packages: blis
Running setup.py bdist_wheel for blis: started
Running setup.py bdist_wheel for blis: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-undztsbv/blis/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-0wah2x0q --python-tag cp37:
BLIS_COMPILER? None
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/blis
copying blis/benchmark.py -> build/lib.linux-armv7l-3.7/blis
copying blis/init.py -> build/lib.linux-armv7l-3.7/blis
copying blis/about.py -> build/lib.linux-armv7l-3.7/blis
creating build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/common.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/test_dotv.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/test_gemm.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/init.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/py.pyx -> build/lib.linux-armv7l-3.7/blis
copying blis/cy.pyx -> build/lib.linux-armv7l-3.7/blis
copying blis/cy.pxd -> build/lib.linux-armv7l-3.7/blis
copying blis/init.pxd -> build/lib.linux-armv7l-3.7/blis
running build_ext
/home/pi/.local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-undztsbv/blis/blis/py.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
/home/pi/.local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-undztsbv/blis/blis/cy.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Processing blis/py.pyx
Processing blis/cy.pyx
unix
py_compiler gcc
{'BLIS_ARCH': 'generic', 'HOSTNAME': 'aa9d42588791', 'SSL_CERT_FILE': '/opt/internal/certs.pem', 'TERM': 'xterm', 'OLDPWD': '/usr/local/repos/cython-blis', 'LD_LIBRARY_PATH': '/opt/rh/devtoolset-2/root/usr/lib64:/opt/rh/devtoolset-2/root/usr/lib:/usr/local/lib64:/usr/local/lib', 'LS_COLORS': 'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:.cmd=00;32:.exe=00;32:.com=00;32:.btm=00;32:.bat=00;32:.sh=00;32:.csh=00;32:.tar=00;31:.tgz=00;31:.arj=00;31:.taz=00;31:.lzh=00;31:.zip=00;31:.z=00;31:.Z=00;31:.gz=00;31:.bz2=00;31:.bz=00;31:.tz=00;31:.rpm=00;31:.cpio=00;31:.jpg=00;35:.gif=00;35:.bmp=00;35:.xbm=00;35:.xpm=00;35:.png=00;35:.tif=00;35:', 'VIRTUAL_ENV': '/usr/local/repos/cython-blis/env3.6', 'PATH': '/usr/local/repos/cython-blis/env3.6/bin:/opt/rh/devtoolset-2/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PWD': '/usr/local/repos/cython-blis/flame-blis', 'BLIS_ARCh': 'generic', 'LANG': 'en_US.UTF-8', 'HOME': '/root', 'SHLVL': '2', 'LANGUAGE': 'en_US.UTF-8', 'BLIS_ARC': 'generic', 'AUDITWHEEL_PLAT': 'manylinux1_x86_64', 'PKG_CONFIG_PATH': '/usr/local/lib/pkgconfig', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'G_BROKEN_FILENAMES': '1', '': '/usr/local/repos/cython-blis/env3.6/bin/python'}
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpvatmxf86/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /tmp/tmpvatmxf86/bli_cntx_init_haswell.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/penryn/bli_cntx_init_penryn.c -o /tmp/tmpvatmxf86/bli_cntx_init_penryn.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/piledriver/bli_cntx_init_piledriver.c -o /tmp/tmpvatmxf86/bli_cntx_init_piledriver.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/sandybridge/bli_cntx_init_sandybridge.c -o /tmp/tmpvatmxf86/bli_cntx_init_sandybridge.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/steamroller/bli_cntx_init_steamroller.c -o /tmp/tmpvatmxf86/bli_cntx_init_steamroller.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c -o /tmp/tmpvatmxf86/bli_amaxv_zen_int.o -O3 -mavx2 -mfma -mfpmath=sse -march=core-avx2 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc: error: unrecognized -march target: core-avx2
gcc: note: valid arguments are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5t armv5e armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m armv7 armv7-a armv7ve armv7-r armv7-m armv7e-m armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8-m.base armv8-m.main armv8-r iwmmxt iwmmxt2 native
gcc: error: missing argument to ‘-march=’
gcc: error: unrecognized command line option ‘-mavx2’
gcc: error: unrecognized command line option ‘-mfma’
gcc: error: unrecognized command line option ‘-mfpmath=sse’
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-undztsbv/blis/setup.py", line 277, in
"Topic :: Scientific/Engineering",
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 188, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-undztsbv/blis/setup.py", line 103, in build_extensions
objects = self.compile_objects(compiler.split("-")[0], arch, OBJ_DIR)
File "/tmp/pip-install-undztsbv/blis/setup.py", line 188, in compile_objects
objects.append(self.build_object(env=env, **spec))
File "/tmp/pip-install-undztsbv/blis/setup.py", line 201, in build_object
subprocess.check_call(command, cwd=BLIS_DIR)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gcc', '-c', '/tmp/pip-install-undztsbv/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c', '-o', '/tmp/tmpvatmxf86/bli_amaxv_zen_int.o', '-O3', '-mavx2', '-mfma', '-mfpmath=sse', '-march=core-avx2', '-fPIC', '-std=c99', '-D_POSIX_C_SOURCE=200112L', '-DBLIS_VERSION_STRING="0.5.1"', '-DBLIS_IS_BUILDING_LIBRARY', '-Iinclude/linux-x86_64', '-I./frame/3/', '-I./frame/ind/ukernels/', '-I./frame/1m/', '-I./frame/1f/', '-I./frame/1/', '-I./frame/include', '-I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64']' returned non-zero exit status 1.
----------------------------------------
Failed building wheel for blis
Running setup.py clean for blis
Failed to build blis
Installing collected packages: setuptools, wheel, cython, cymem, murmurhash, preshed, srsly, numpy, blis, tqdm, plac, wasabi, zipp, importlib-metadata, catalogue, thinc
Running setup.py install for blis: started
Running setup.py install for blis: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-undztsbv/blis/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-09iq844w/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-6z1mh99y --compile:
BLIS_COMPILER? None
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/blis
copying blis/benchmark.py -> build/lib.linux-armv7l-3.7/blis
copying blis/init.py -> build/lib.linux-armv7l-3.7/blis
copying blis/about.py -> build/lib.linux-armv7l-3.7/blis
creating build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/common.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/test_dotv.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/test_gemm.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/init.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/py.pyx -> build/lib.linux-armv7l-3.7/blis
copying blis/cy.pyx -> build/lib.linux-armv7l-3.7/blis
copying blis/cy.pxd -> build/lib.linux-armv7l-3.7/blis
copying blis/init.pxd -> build/lib.linux-armv7l-3.7/blis
running build_ext
/home/pi/.local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-undztsbv/blis/blis/py.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
/home/pi/.local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-undztsbv/blis/blis/cy.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Processing blis/py.pyx
Processing blis/cy.pyx
unix
py_compiler gcc
{'BLIS_ARCH': 'generic', 'HOSTNAME': 'aa9d42588791', 'SSL_CERT_FILE': '/opt/internal/certs.pem', 'TERM': 'xterm', 'OLDPWD': '/usr/local/repos/cython-blis', 'LD_LIBRARY_PATH': '/opt/rh/devtoolset-2/root/usr/lib64:/opt/rh/devtoolset-2/root/usr/lib:/usr/local/lib64:/usr/local/lib', 'LS_COLORS': 'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:.cmd=00;32:.exe=00;32:.com=00;32:.btm=00;32:.bat=00;32:.sh=00;32:.csh=00;32:.tar=00;31:.tgz=00;31:.arj=00;31:.taz=00;31:.lzh=00;31:.zip=00;31:.z=00;31:.Z=00;31:.gz=00;31:.bz2=00;31:.bz=00;31:.tz=00;31:.rpm=00;31:.cpio=00;31:.jpg=00;35:.gif=00;35:.bmp=00;35:.xbm=00;35:.xpm=00;35:.png=00;35:.tif=00;35:', 'VIRTUAL_ENV': '/usr/local/repos/cython-blis/env3.6', 'PATH': '/usr/local/repos/cython-blis/env3.6/bin:/opt/rh/devtoolset-2/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PWD': '/usr/local/repos/cython-blis/flame-blis', 'BLIS_ARCh': 'generic', 'LANG': 'en_US.UTF-8', 'HOME': '/root', 'SHLVL': '2', 'LANGUAGE': 'en_US.UTF-8', 'BLIS_ARC': 'generic', 'AUDITWHEEL_PLAT': 'manylinux1_x86_64', 'PKG_CONFIG_PATH': '/usr/local/lib/pkgconfig', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'G_BROKEN_FILENAMES': '1', '': '/usr/local/repos/cython-blis/env3.6/bin/python'}
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_haswell.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/penryn/bli_cntx_init_penryn.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_penryn.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/piledriver/bli_cntx_init_piledriver.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_piledriver.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/sandybridge/bli_cntx_init_sandybridge.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_sandybridge.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/steamroller/bli_cntx_init_steamroller.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_steamroller.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c -o /tmp/tmpkxwy_xkb/bli_amaxv_zen_int.o -O3 -mavx2 -mfma -mfpmath=sse -march=core-avx2 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc: error: unrecognized -march target: core-avx2
gcc: note: valid arguments are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5t armv5e armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m armv7 armv7-a armv7ve armv7-r armv7-m armv7e-m armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8-m.base armv8-m.main armv8-r iwmmxt iwmmxt2 native
gcc: error: missing argument to ‘-march=’
gcc: error: unrecognized command line option ‘-mavx2’
gcc: error: unrecognized command line option ‘-mfma’
gcc: error: unrecognized command line option ‘-mfpmath=sse’
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-undztsbv/blis/setup.py", line 277, in
"Topic :: Scientific/Engineering",
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-undztsbv/blis/setup.py", line 103, in build_extensions
objects = self.compile_objects(compiler.split("-")[0], arch, OBJ_DIR)
File "/tmp/pip-install-undztsbv/blis/setup.py", line 188, in compile_objects
objects.append(self.build_object(env=env, **spec))
File "/tmp/pip-install-undztsbv/blis/setup.py", line 201, in build_object
subprocess.check_call(command, cwd=BLIS_DIR)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gcc', '-c', '/tmp/pip-install-undztsbv/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c', '-o', '/tmp/tmpkxwy_xkb/bli_amaxv_zen_int.o', '-O3', '-mavx2', '-mfma', '-mfpmath=sse', '-march=core-avx2', '-fPIC', '-std=c99', '-D_POSIX_C_SOURCE=200112L', '-DBLIS_VERSION_STRING="0.5.1"', '-DBLIS_IS_BUILDING_LIBRARY', '-Iinclude/linux-x86_64', '-I./frame/3/', '-I./frame/ind/ukernels/', '-I./frame/1m/', '-I./frame/1f/', '-I./frame/1/', '-I./frame/include', '-I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64']' returned non-zero exit status 1.
How to reproduce the problem
I run:
pip3 install spacy
and try build from source (first) too. Both methods not working. Only possible solution is install old version via wheel. I would use latest version to get latest models.
# copy-paste the error message here
On red error:
Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6z1mh99y --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel cython>=0.25 cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.4.1" failed with error code 1 in None
-bash: Command: command not found
from beggining, full log:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting spacy
Using cached https://files.pythonhosted.org/packages/63/04/9309749d00a44447c9e93510a3ccb21a37a36a23dbe8b35d09d4d2110094/spacy-2.3.0.tar.gz
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'error'
Complete output from command /usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6z1mh99y --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools wheel cython>=0.25 cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.1.0 murmurhash>=0.28.0,<1.1.0 thinc==7.4.1:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/e9/93/4860cebd5ad3ff2664ad3c966490ccb46e3b88458b2095145bca11727ca4/setuptools-47.3.1-py3-none-any.whl
Collecting wheel
Using cached https://files.pythonhosted.org/packages/8c/23/848298cccf8e40f5bbb59009b32848a4c38f4e7f3364297ab3c3e2e2cd14/wheel-0.34.2-py2.py3-none-any.whl
Collecting cython>=0.25
Using cached https://files.pythonhosted.org/packages/1e/2a/fcb9cf3620a758bc7a1bd4a02eb00722661a658bf9de053894c4dc77596c/Cython-0.29.20-py2.py3-none-any.whl
Collecting cymem<2.1.0,>=2.0.2
Using cached https://www.piwheels.org/simple/cymem/cymem-2.0.3-cp37-cp37m-linux_armv7l.whl
Collecting preshed<3.1.0,>=3.0.2
Using cached https://www.piwheels.org/simple/preshed/preshed-3.0.2-cp37-cp37m-linux_armv7l.whl
Collecting murmurhash<1.1.0,>=0.28.0
Using cached https://www.piwheels.org/simple/murmurhash/murmurhash-1.0.2-cp37-cp37m-linux_armv7l.whl
Collecting thinc==7.4.1
Using cached https://www.piwheels.org/simple/thinc/thinc-7.4.1-cp37-cp37m-linux_armv7l.whl
Collecting srsly<1.1.0,>=0.0.6 (from thinc==7.4.1)
Using cached https://www.piwheels.org/simple/srsly/srsly-1.0.2-cp37-cp37m-linux_armv7l.whl
Collecting blis<0.5.0,>=0.4.0 (from thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/98/5a/f9b8a78e3d1fdde1b0215413d88ab55d907ab81f95b62418a6e9cda30dec/blis-0.4.1.tar.gz
Collecting numpy>=1.7.0 (from thinc==7.4.1)
Using cached https://www.piwheels.org/simple/numpy/numpy-1.19.0-cp37-cp37m-linux_armv7l.whl
Collecting tqdm<5.0.0,>=4.10.0 (from thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/46/62/7663894f67ac5a41a0d8812d78d9d2a9404124051885af9d77dc526fb399/tqdm-4.47.0-py2.py3-none-any.whl
Collecting plac<1.2.0,>=0.9.6 (from thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/86/85/40b8f66c2dd8f4fd9f09d59b22720cffecf1331e788b8a0cab5bafb353d1/plac-1.1.3-py2.py3-none-any.whl
Collecting wasabi<1.1.0,>=0.0.9 (from thinc==7.4.1)
Using cached https://www.piwheels.org/simple/wasabi/wasabi-0.7.0-py3-none-any.whl
Collecting catalogue<1.1.0,>=0.0.7 (from thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/6c/f9/9a5658e2f56932e41eb264941f9a2cb7f3ce41a80cb36b2af6ab78e2f8af/catalogue-1.0.0-py2.py3-none-any.whl
Collecting importlib-metadata>=0.20; python_version < "3.8" (from catalogue<1.1.0,>=0.0.7->thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/8e/58/cdea07eb51fc2b906db0968a94700866fc46249bdc75cac23f9d13168929/importlib_metadata-1.7.0-py2.py3-none-any.whl
Collecting zipp>=0.5 (from importlib-metadata>=0.20; python_version < "3.8"->catalogue<1.1.0,>=0.0.7->thinc==7.4.1)
Using cached https://files.pythonhosted.org/packages/b2/34/bfcb43cc0ba81f527bc4f40ef41ba2ff4080e047acb0586b56b3d017ace4/zipp-3.1.0-py3-none-any.whl
Building wheels for collected packages: blis
Running setup.py bdist_wheel for blis: started
Running setup.py bdist_wheel for blis: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-undztsbv/blis/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-0wah2x0q --python-tag cp37:
BLIS_COMPILER? None
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/blis
copying blis/benchmark.py -> build/lib.linux-armv7l-3.7/blis
copying blis/init.py -> build/lib.linux-armv7l-3.7/blis
copying blis/about.py -> build/lib.linux-armv7l-3.7/blis
creating build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/common.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/test_dotv.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/test_gemm.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/init.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/py.pyx -> build/lib.linux-armv7l-3.7/blis
copying blis/cy.pyx -> build/lib.linux-armv7l-3.7/blis
copying blis/cy.pxd -> build/lib.linux-armv7l-3.7/blis
copying blis/init.pxd -> build/lib.linux-armv7l-3.7/blis
running build_ext
/home/pi/.local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-undztsbv/blis/blis/py.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
/home/pi/.local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-undztsbv/blis/blis/cy.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Processing blis/py.pyx
Processing blis/cy.pyx
unix
py_compiler gcc
{'BLIS_ARCH': 'generic', 'HOSTNAME': 'aa9d42588791', 'SSL_CERT_FILE': '/opt/internal/certs.pem', 'TERM': 'xterm', 'OLDPWD': '/usr/local/repos/cython-blis', 'LD_LIBRARY_PATH': '/opt/rh/devtoolset-2/root/usr/lib64:/opt/rh/devtoolset-2/root/usr/lib:/usr/local/lib64:/usr/local/lib', 'LS_COLORS': 'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:.cmd=00;32:.exe=00;32:.com=00;32:.btm=00;32:.bat=00;32:.sh=00;32:.csh=00;32:.tar=00;31:.tgz=00;31:.arj=00;31:.taz=00;31:.lzh=00;31:.zip=00;31:.z=00;31:.Z=00;31:.gz=00;31:.bz2=00;31:.bz=00;31:.tz=00;31:.rpm=00;31:.cpio=00;31:.jpg=00;35:.gif=00;35:.bmp=00;35:.xbm=00;35:.xpm=00;35:.png=00;35:.tif=00;35:', 'VIRTUAL_ENV': '/usr/local/repos/cython-blis/env3.6', 'PATH': '/usr/local/repos/cython-blis/env3.6/bin:/opt/rh/devtoolset-2/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PWD': '/usr/local/repos/cython-blis/flame-blis', 'BLIS_ARCh': 'generic', 'LANG': 'en_US.UTF-8', 'HOME': '/root', 'SHLVL': '2', 'LANGUAGE': 'en_US.UTF-8', 'BLIS_ARC': 'generic', 'AUDITWHEEL_PLAT': 'manylinux1_x86_64', 'PKG_CONFIG_PATH': '/usr/local/lib/pkgconfig', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'G_BROKEN_FILENAMES': '1', '': '/usr/local/repos/cython-blis/env3.6/bin/python'}
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpvatmxf86/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /tmp/tmpvatmxf86/bli_cntx_init_haswell.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/penryn/bli_cntx_init_penryn.c -o /tmp/tmpvatmxf86/bli_cntx_init_penryn.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/piledriver/bli_cntx_init_piledriver.c -o /tmp/tmpvatmxf86/bli_cntx_init_piledriver.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/sandybridge/bli_cntx_init_sandybridge.c -o /tmp/tmpvatmxf86/bli_cntx_init_sandybridge.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/steamroller/bli_cntx_init_steamroller.c -o /tmp/tmpvatmxf86/bli_cntx_init_steamroller.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c -o /tmp/tmpvatmxf86/bli_amaxv_zen_int.o -O3 -mavx2 -mfma -mfpmath=sse -march=core-avx2 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc: error: unrecognized -march target: core-avx2
gcc: note: valid arguments are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5t armv5e armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m armv7 armv7-a armv7ve armv7-r armv7-m armv7e-m armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8-m.base armv8-m.main armv8-r iwmmxt iwmmxt2 native
gcc: error: missing argument to ‘-march=’
gcc: error: unrecognized command line option ‘-mavx2’
gcc: error: unrecognized command line option ‘-mfma’
gcc: error: unrecognized command line option ‘-mfpmath=sse’
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-undztsbv/blis/setup.py", line 277, in
"Topic :: Scientific/Engineering",
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 188, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-undztsbv/blis/setup.py", line 103, in build_extensions
objects = self.compile_objects(compiler.split("-")[0], arch, OBJ_DIR)
File "/tmp/pip-install-undztsbv/blis/setup.py", line 188, in compile_objects
objects.append(self.build_object(env=env, **spec))
File "/tmp/pip-install-undztsbv/blis/setup.py", line 201, in build_object
subprocess.check_call(command, cwd=BLIS_DIR)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gcc', '-c', '/tmp/pip-install-undztsbv/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c', '-o', '/tmp/tmpvatmxf86/bli_amaxv_zen_int.o', '-O3', '-mavx2', '-mfma', '-mfpmath=sse', '-march=core-avx2', '-fPIC', '-std=c99', '-D_POSIX_C_SOURCE=200112L', '-DBLIS_VERSION_STRING="0.5.1"', '-DBLIS_IS_BUILDING_LIBRARY', '-Iinclude/linux-x86_64', '-I./frame/3/', '-I./frame/ind/ukernels/', '-I./frame/1m/', '-I./frame/1f/', '-I./frame/1/', '-I./frame/include', '-I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64']' returned non-zero exit status 1.
Failed to build blis
Installing collected packages: setuptools, wheel, cython, cymem, murmurhash, preshed, srsly, numpy, blis, tqdm, plac, wasabi, zipp, importlib-metadata, catalogue, thinc
Running setup.py install for blis: started
Running setup.py install for blis: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-undztsbv/blis/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-09iq844w/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-6z1mh99y --compile:
BLIS_COMPILER? None
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/blis
copying blis/benchmark.py -> build/lib.linux-armv7l-3.7/blis
copying blis/init.py -> build/lib.linux-armv7l-3.7/blis
copying blis/about.py -> build/lib.linux-armv7l-3.7/blis
creating build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/common.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/test_dotv.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/test_gemm.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/tests/init.py -> build/lib.linux-armv7l-3.7/blis/tests
copying blis/py.pyx -> build/lib.linux-armv7l-3.7/blis
copying blis/cy.pyx -> build/lib.linux-armv7l-3.7/blis
copying blis/cy.pxd -> build/lib.linux-armv7l-3.7/blis
copying blis/init.pxd -> build/lib.linux-armv7l-3.7/blis
running build_ext
/home/pi/.local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-undztsbv/blis/blis/py.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
/home/pi/.local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-undztsbv/blis/blis/cy.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Processing blis/py.pyx
Processing blis/cy.pyx
unix
py_compiler gcc
{'BLIS_ARCH': 'generic', 'HOSTNAME': 'aa9d42588791', 'SSL_CERT_FILE': '/opt/internal/certs.pem', 'TERM': 'xterm', 'OLDPWD': '/usr/local/repos/cython-blis', 'LD_LIBRARY_PATH': '/opt/rh/devtoolset-2/root/usr/lib64:/opt/rh/devtoolset-2/root/usr/lib:/usr/local/lib64:/usr/local/lib', 'LS_COLORS': 'no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:.cmd=00;32:.exe=00;32:.com=00;32:.btm=00;32:.bat=00;32:.sh=00;32:.csh=00;32:.tar=00;31:.tgz=00;31:.arj=00;31:.taz=00;31:.lzh=00;31:.zip=00;31:.z=00;31:.Z=00;31:.gz=00;31:.bz2=00;31:.bz=00;31:.tz=00;31:.rpm=00;31:.cpio=00;31:.jpg=00;35:.gif=00;35:.bmp=00;35:.xbm=00;35:.xpm=00;35:.png=00;35:.tif=00;35:', 'VIRTUAL_ENV': '/usr/local/repos/cython-blis/env3.6', 'PATH': '/usr/local/repos/cython-blis/env3.6/bin:/opt/rh/devtoolset-2/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PWD': '/usr/local/repos/cython-blis/flame-blis', 'BLIS_ARCh': 'generic', 'LANG': 'en_US.UTF-8', 'HOME': '/root', 'SHLVL': '2', 'LANGUAGE': 'en_US.UTF-8', 'BLIS_ARC': 'generic', 'AUDITWHEEL_PLAT': 'manylinux1_x86_64', 'PKG_CONFIG_PATH': '/usr/local/lib/pkgconfig', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'G_BROKEN_FILENAMES': '1', '': '/usr/local/repos/cython-blis/env3.6/bin/python'}
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_haswell.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/penryn/bli_cntx_init_penryn.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_penryn.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/piledriver/bli_cntx_init_piledriver.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_piledriver.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/sandybridge/bli_cntx_init_sandybridge.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_sandybridge.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/config/steamroller/bli_cntx_init_steamroller.c -o /tmp/tmpkxwy_xkb/bli_cntx_init_steamroller.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc -c /tmp/pip-install-undztsbv/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c -o /tmp/tmpkxwy_xkb/bli_amaxv_zen_int.o -O3 -mavx2 -mfma -mfpmath=sse -march=core-avx2 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.1" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64
gcc: error: unrecognized -march target: core-avx2
gcc: note: valid arguments are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5t armv5e armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk armv6t2 armv6-m armv6s-m armv7 armv7-a armv7ve armv7-r armv7-m armv7e-m armv8-a armv8.1-a armv8.2-a armv8.3-a armv8.4-a armv8-m.base armv8-m.main armv8-r iwmmxt iwmmxt2 native
gcc: error: missing argument to ‘-march=’
gcc: error: unrecognized command line option ‘-mavx2’
gcc: error: unrecognized command line option ‘-mfma’
gcc: error: unrecognized command line option ‘-mfpmath=sse’
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-undztsbv/blis/setup.py", line 277, in
"Topic :: Scientific/Engineering",
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-undztsbv/blis/setup.py", line 103, in build_extensions
objects = self.compile_objects(compiler.split("-")[0], arch, OBJ_DIR)
File "/tmp/pip-install-undztsbv/blis/setup.py", line 188, in compile_objects
objects.append(self.build_object(env=env, **spec))
File "/tmp/pip-install-undztsbv/blis/setup.py", line 201, in build_object
subprocess.check_call(command, cwd=BLIS_DIR)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gcc', '-c', '/tmp/pip-install-undztsbv/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c', '-o', '/tmp/tmpkxwy_xkb/bli_amaxv_zen_int.o', '-O3', '-mavx2', '-mfma', '-mfpmath=sse', '-march=core-avx2', '-fPIC', '-std=c99', '-D_POSIX_C_SOURCE=200112L', '-DBLIS_VERSION_STRING="0.5.1"', '-DBLIS_IS_BUILDING_LIBRARY', '-Iinclude/linux-x86_64', '-I./frame/3/', '-I./frame/ind/ukernels/', '-I./frame/1m/', '-I./frame/1f/', '-I./frame/1/', '-I./frame/include', '-I/tmp/pip-install-undztsbv/blis/blis/_src/include/linux-x86_64']' returned non-zero exit status 1.
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-undztsbv/blis/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-09iq844w/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-6z1mh99y --compile" failed with error code 1 in /tmp/pip-install-undztsbv/blis/
Your Environment
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Kernel:
4.19.118-v7l+
Installed packages:
Package Version
aiodns 2.0.0
aiofiles 0.5.0
aiohttp 3.6.2
asn1crypto 0.24.0
async-timeout 3.0.1
attrs 19.3.0
blis 0.4.1
brotlipy 0.7.0
catalogue 1.0.0
cchardet 2.1.6
certifi 2018.8.24
cffi 1.14.0
chardet 3.0.4
click 7.1.2
cryptography 2.6.1
cssselect 1.1.0
cymem 2.0.3
Cython 0.29.20
en-core-web-lg 2.2.5
entrypoints 0.3
fastapi 0.54.2
flake8 3.5.0
h11 0.9.0
httptools 0.1.1
idna 2.6
importlib-metadata 1.6.0
jsonschema 3.0.2
keyring 17.1.1
keyrings.alt 3.1.1
lxml 4.5.1
mccabe 0.6.1
mock 2.0.0
more-itertools 8.3.0
multidict 4.7.6
murmurhash 1.0.2
nest-asyncio 1.3.3
numpy 1.18.4
packaging 20.4
parsel 1.6.0
pbr 5.4.5
pip 18.1
plac 1.1.3
pluggy 0.13.1
preshed 3.0.2
psutil 5.7.0
py 1.8.1
pycares 3.1.1
pycodestyle 2.3.1
pycparser 2.20
pycrypto 2.6.1
pydantic 1.5.1
pyflakes 1.6.0
PyGObject 3.30.4
pyparsing 2.4.7
pyrsistent 0.16.0
pytest 5.4.2
pytest-timeout 1.4.1
python-apt 1.8.4.1
pyxdg 0.25
requests 2.21.0
SecretStorage 2.3.1
setuptools 40.8.0
six 1.12.0
srsly 1.0.2
ssh-import-id 5.7
starlette 0.13.2
thinc 7.4.1
tqdm 4.46.0
urllib3 1.24.1
uvicorn 0.11.5
uvloop 0.14.0
virtualenv 15.1.0
w3lib 1.22.0
wasabi 0.6.0
wcwidth 0.1.9
websockets 8.1
wheel 0.32.3
yarl 1.4.2
zipp 3.1.0
The text was updated successfully, but these errors were encountered: