gunthercox / ChatterBot

ChatterBot is a machine learning, conversational dialog engine for creating chat bots
https://chatterbot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
14.03k stars 4.44k forks source link

[Help] Installation error (failed with error code 1 in None) #2090

Open morsine opened 3 years ago

morsine commented 3 years ago

Hi and good evenings everyone.

I've been trying to install this on a raspberry pi zero w (armv6) with python 3.7 using pip3. Already tried it on a virtual machine, It installs and works flawlessly! (thank you so much for making this)

But on the raspberry pi, I'm facing an error. Before the logs, I want to mention that I already have updated setup-tools (as some google search suggested) and tried this on a fresh install of Raspbian (or Raspberry Pi OS)

It seems like one of the dependencies have issues getting installed, is this program supported on arm architecture? If yes, what can I do to solve this issue.

Your help will be really appreciated.!

Logs: root@localhost:~# pip3 install chatterbot Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting chatterbot Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/chatterbot/ Using cached https://files.pythonhosted.org/packages/12/b7/d8a034fbef04cb50fc7a9f5c6b6d27f1db186ffd58f66d7301e16abfd9ca/ChatterBot-1.1.0-py2.py3-none-any.whl Collecting pyyaml<5.4,>=5.3 (from chatterbot) Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-5.3.1-cp37-cp37m-linux_armv6l.whl Collecting pytz (from chatterbot) Downloading https://files.pythonhosted.org/packages/89/06/2c2d3034b4d6bf22f2a4ae546d16925898658a33b4400cfb7e2c1e2871a3/pytz-2020.5-py2.py3-none-any.whl (510kB) 100% |████████████████████████████████| 512kB 156kB/s Collecting pint>=0.8.1 (from chatterbot) Using cached https://files.pythonhosted.org/packages/5f/0e/dd4fb17aed6bfbc168fd767cffb6ec20b634009b75fd8ea699ea244bff3c/Pint-0.16.1-py2.py3-none-any.whl Collecting spacy<2.2,>=2.1 (from chatterbot) Using cached https://files.pythonhosted.org/packages/1f/e2/46650d03c7ff2b57ed7af211d41c3f606540f7adea92b5af65fcf9f605c0/spacy-2.1.9.tar.gz Installing build dependencies ... | / / error Complete output from command /usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-h6i6rczt --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>0.32.0,<0.33.0 Cython cymem>=2.0.2,<2.1.0 preshed>=2.0.1,<2.1.0 murmurhash>=0.28.0,<1.1.0 thinc>=7.0.8,<7.1.0: 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/6e/77/e921ae5c370698762cf645797f42e6d4d7e679f705a8a9697234591808aa/setuptools-51.1.0.post20201221-py3-none-any.whl Collecting wheel<0.33.0,>0.32.0 Using cached https://files.pythonhosted.org/packages/ff/47/1dfa4795e24fd6f93d5d58602dd716c3f101cfd5a77cd9acbe519b44a0a9/wheel-0.32.3-py2.py3-none-any.whl Collecting Cython Using cached https://www.piwheels.org/simple/cython/Cython-0.29.21-cp37-cp37m-linux_armv6l.whl Collecting cymem<2.1.0,>=2.0.2 Using cached https://www.piwheels.org/simple/cymem/cymem-2.0.5-cp37-cp37m-linux_armv6l.whl Collecting preshed<2.1.0,>=2.0.1 Using cached https://www.piwheels.org/simple/preshed/preshed-2.0.1-cp37-cp37m-linux_armv6l.whl Collecting murmurhash<1.1.0,>=0.28.0 Using cached https://www.piwheels.org/simple/murmurhash/murmurhash-1.0.5-cp37-cp37m-linux_armv6l.whl Collecting thinc<7.1.0,>=7.0.8 Using cached https://www.piwheels.org/simple/thinc/thinc-7.0.8-cp37-cp37m-linux_armv6l.whl Collecting srsly<1.1.0,>=0.0.6 (from thinc<7.1.0,>=7.0.8) Using cached https://www.piwheels.org/simple/srsly/srsly-1.0.5-cp37-cp37m-linux_armv6l.whl Collecting wasabi<1.1.0,>=0.0.9 (from thinc<7.1.0,>=7.0.8) Using cached https://files.pythonhosted.org/packages/1b/10/55f3cf6b52cc89107b3e1b88fcf39719392b377a3d78ca61da85934d0d10/wasabi-0.8.0-py3-none-any.whl Collecting tqdm<5.0.0,>=4.10.0 (from thinc<7.1.0,>=7.0.8) Using cached https://files.pythonhosted.org/packages/05/bb/9403e1f30ed060e16835c9b275620ca89191a41ccc2b995b88efbc32dfd9/tqdm-4.55.0-py2.py3-none-any.whl Collecting blis<0.3.0,>=0.2.1 (from thinc<7.1.0,>=7.0.8) Using cached https://files.pythonhosted.org/packages/59/9e/84a83616cbe5daa94909da38b780e93bf566dc2113c3dc35d7b4cad52f63/blis-0.2.4.tar.gz Collecting numpy>=1.7.0 (from thinc<7.1.0,>=7.0.8) Using cached https://www.piwheels.org/simple/numpy/numpy-1.19.4-cp37-cp37m-linux_armv6l.whl Collecting plac<1.0.0,>=0.9.6 (from thinc<7.1.0,>=7.0.8) Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.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-cdw85oj8/blis/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdistwheel -d /tmp/pip-wheel-9you0qs --python-tag cp37: BLIS_COMPILER? None running bdist_wheel running build running build_py creating build creating build/lib.linux-armv6l-3.7 creating build/lib.linux-armv6l-3.7/blis copying blis/init.py -> build/lib.linux-armv6l-3.7/blis copying blis/about.py -> build/lib.linux-armv6l-3.7/blis copying blis/benchmark.py -> build/lib.linux-armv6l-3.7/blis creating build/lib.linux-armv6l-3.7/blis/tests copying blis/tests/test_gemm.py -> build/lib.linux-armv6l-3.7/blis/tests copying blis/tests/init.py -> build/lib.linux-armv6l-3.7/blis/tests copying blis/tests/test_dotv.py -> build/lib.linux-armv6l-3.7/blis/tests copying blis/tests/common.py -> build/lib.linux-armv6l-3.7/blis/tests copying blis/cy.pyx -> build/lib.linux-armv6l-3.7/blis copying blis/py.pyx -> build/lib.linux-armv6l-3.7/blis copying blis/init.pxd -> build/lib.linux-armv6l-3.7/blis copying blis/cy.pxd -> build/lib.linux-armv6l-3.7/blis running build_ext unix py_compiler gcc {'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/flame-blis', 'VIRTUAL_ENV': '/home/matt/repos/wheelwright/env3.6', 'USER': 'matt', 'PWD': '/home/matt/repos/cython-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'SHELL': '/bin/bash', 'TERM': 'xterm-256color', 'SHLVL': '1', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/wheelwright/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox', 'PS1': '(env3.6) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'OMP_NUMTHREADS': '1', 'LESSOPEN': '| /usr/bin/lesspipe %s', '': '/home/matt/repos/wheelwright/env3.6/bin/python'} gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmp8y9bx0fv/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /tmp/tmp8y9bx0fv/bli_cntx_init_haswell.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/penryn/bli_cntx_init_penryn.c -o /tmp/tmp8y9bx0fv/bli_cntx_init_penryn.o -O2 -fomit-frame-pointer -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/piledriver/bli_cntx_init_piledriver.c -o /tmp/tmp8y9bx0fv/bli_cntx_init_piledriver.o -O2 -fomit-frame-pointer -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/sandybridge/bli_cntx_init_sandybridge.c -o /tmp/tmp8y9bx0fv/bli_cntx_init_sandybridge.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/steamroller/bli_cntx_init_steamroller.c -o /tmp/tmp8y9bx0fv/bli_cntx_init_steamroller.o -O2 -fomit-frame-pointer -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c -o /tmp/tmp8y9bx0fv/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.0-6" -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-cdw85oj8/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-cdw85oj8/blis/setup.py", line 266, in 'Topic :: Scientific/Engineering' File "/usr/local/lib/python3.7/dist-packages/setuptools/init.py", line 153, 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-cdw85oj8/blis/setup.py", line 105, in build_extensions objects = self.compile_objects(compiler.split('-')[0], arch, OBJ_DIR) File "/tmp/pip-install-cdw85oj8/blis/setup.py", line 184, in compile_objects objects.append(self.build_object(env=env, spec)) File "/tmp/pip-install-cdw85oj8/blis/setup.py", line 198, 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-cdw85oj8/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c', '-o', '/tmp/tmp8y9bx0fv/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.0-6"', '-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-cdw85oj8/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, preshed, murmurhash, srsly, wasabi, tqdm, numpy, blis, plac, 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-cdw85oj8/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-k0b6dwki/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-h6i6rczt --compile: BLIS_COMPILER? None running install running build running build_py creating build creating build/lib.linux-armv6l-3.7 creating build/lib.linux-armv6l-3.7/blis copying blis/init.py -> build/lib.linux-armv6l-3.7/blis copying blis/about.py -> build/lib.linux-armv6l-3.7/blis copying blis/benchmark.py -> build/lib.linux-armv6l-3.7/blis creating build/lib.linux-armv6l-3.7/blis/tests copying blis/tests/test_gemm.py -> build/lib.linux-armv6l-3.7/blis/tests copying blis/tests/init.py -> build/lib.linux-armv6l-3.7/blis/tests copying blis/tests/test_dotv.py -> build/lib.linux-armv6l-3.7/blis/tests copying blis/tests/common.py -> build/lib.linux-armv6l-3.7/blis/tests copying blis/cy.pyx -> build/lib.linux-armv6l-3.7/blis copying blis/py.pyx -> build/lib.linux-armv6l-3.7/blis copying blis/init.pxd -> build/lib.linux-armv6l-3.7/blis copying blis/cy.pxd -> build/lib.linux-armv6l-3.7/blis running build_ext unix py_compiler gcc {'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/flame-blis', 'VIRTUAL_ENV': '/home/matt/repos/wheelwright/env3.6', 'USER': 'matt', 'PWD': '/home/matt/repos/cython-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'SHELL': '/bin/bash', 'TERM': 'xterm-256color', 'SHLVL': '1', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/wheelwright/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts:/mnt/c/Python37:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/nodejs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox', 'PS1': '(env3.6) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'OMP_NUMTHREADS': '1', 'LESSOPEN': '| /usr/bin/lesspipe %s', '': '/home/matt/repos/wheelwright/env3.6/bin/python'} gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpb6jx4_9s/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /tmp/tmpb6jx4_9s/bli_cntx_init_haswell.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/penryn/bli_cntx_init_penryn.c -o /tmp/tmpb6jx4_9s/bli_cntx_init_penryn.o -O2 -fomit-frame-pointer -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/piledriver/bli_cntx_init_piledriver.c -o /tmp/tmpb6jx4_9s/bli_cntx_init_piledriver.o -O2 -fomit-frame-pointer -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/sandybridge/bli_cntx_init_sandybridge.c -o /tmp/tmpb6jx4_9s/bli_cntx_init_sandybridge.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/config/steamroller/bli_cntx_init_steamroller.c -o /tmp/tmpb6jx4_9s/bli_cntx_init_steamroller.o -O2 -fomit-frame-pointer -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -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-cdw85oj8/blis/blis/_src/include/linux-x86_64 gcc -c /tmp/pip-install-cdw85oj8/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c -o /tmp/tmpb6jx4_9s/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.0-6" -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-cdw85oj8/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-cdw85oj8/blis/setup.py", line 266, in 'Topic :: Scientific/Engineering' File "/usr/local/lib/python3.7/dist-packages/setuptools/init.py", line 153, 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/local/lib/python3.7/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-cdw85oj8/blis/setup.py", line 105, in build_extensions objects = self.compile_objects(compiler.split('-')[0], arch, OBJ_DIR) File "/tmp/pip-install-cdw85oj8/blis/setup.py", line 184, in compile_objects objects.append(self.build_object(env=env, spec)) File "/tmp/pip-install-cdw85oj8/blis/setup.py", line 198, 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-cdw85oj8/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c', '-o', '/tmp/tmpb6jx4_9s/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.0-6"', '-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-cdw85oj8/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-cdw85oj8/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-k0b6dwki/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-h6i6rczt --compile" failed with error code 1 in /tmp/pip-install-cdw85oj8/blis/


Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-h6i6rczt --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>0.32.0,<0.33.0 Cython cymem>=2.0.2,<2.1.0 preshed>=2.0.1,<2.1.0 murmurhash>=0.28.0,<1.1.0 thinc>=7.0.8,<7.1.0" failed with error code 1 in None

If you need any other logs/tests, please let me know.

TheSecMaven commented 3 years ago

I had errors like this, and believe the root cause is that you are not using the python wheel for spacy, which has documented issues across many places.

Collecting spacy<2.2,>=2.1 (from chatterbot)
Using cached https://files.pythonhosted.org/packages/1f/e2/46650d03c7ff2b57ed7af211d41c3f606540f7adea92b5af65fcf9f605c0/spacy-2.1.9.tar.gz
Installing build dependencies ... |

The above shows you are using the .tar.gz, I think your issue could be resolved by https://github.com/gunthercox/ChatterBot/pull/1963 merging, so please comment on that so we can get support to do it!