Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing #1713

Closed
IljaGrebel opened this issue Apr 25, 2019 · 9 comments
Closed

Error while installing #1713

IljaGrebel opened this issue Apr 25, 2019 · 9 comments

Comments

@IljaGrebel
Copy link

IljaGrebel commented Apr 25, 2019

Hi, Im trying to install ChatterBot on RPi and got some errors.. can u help me?

pi@raspberrypi:~` $ pip install chatterbot
Collecting chatterbot
  Using cached https://files.pythonhosted.org/packages/6c/0e/dac0d82f34f86bf509cf5ef3e2dfc5aa7d444bd843a2330ceb7d854f84f2/ChatterBot-1.0.5-py2.py3-none-any.whl
Collecting nltk<4.0,>=3.2 (from chatterbot)
Collecting pymongo<4.0,>=3.3 (from chatterbot)
  Downloading https://files.pythonhosted.org/packages/19/77/da358f5729ff046ceaf6c6a86755f9d8285719f93df6da15bb2440367d7e/pymongo-3.8.0.tar.gz (649kB)
    100% |████████████████████████████████| 655kB 237kB/s
Collecting mathparse<0.2,>=0.1 (from chatterbot)
Collecting spacy<2.2,>=2.1 (from chatterbot)
Collecting pytz (from chatterbot)
  Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl
Collecting python-dateutil<2.8,>=2.7 (from chatterbot)
  Using cached https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl
Collecting pyyaml<5.2,>=5.1 (from chatterbot)
Collecting sqlalchemy<1.3,>=1.2 (from chatterbot)
Collecting pint>=0.8.1 (from chatterbot)
  Using cached https://files.pythonhosted.org/packages/15/9d/bf177ebbc57d25e9e296addc14a1303d1e34d7964af5df428a8332349c42/Pint-0.9-py2.py3-none-any.whl
Collecting singledispatch (from nltk<4.0,>=3.2->chatterbot)
  Using cached https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
Collecting six (from nltk<4.0,>=3.2->chatterbot)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting thinc<7.1.0,>=7.0.2 (from spacy<2.2,>=2.1->chatterbot)
Collecting jsonschema<3.0.0,>=2.6.0 (from spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting preshed<2.1.0,>=2.0.1 (from spacy<2.2,>=2.1->chatterbot)
Collecting cymem<2.1.0,>=2.0.2 (from spacy<2.2,>=2.1->chatterbot)
Collecting srsly<1.1.0,>=0.0.5 (from spacy<2.2,>=2.1->chatterbot)
Collecting numpy>=1.15.0 (from spacy<2.2,>=2.1->chatterbot)
Collecting requests<3.0.0,>=2.13.0 (from spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting murmurhash<1.1.0,>=0.28.0 (from spacy<2.2,>=2.1->chatterbot)
Collecting plac<1.0.0,>=0.9.6 (from spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl
Collecting blis<0.3.0,>=0.2.2 (from spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/59/9e/84a83616cbe5daa94909da38b780e93bf566dc2113c3dc35d7b4cad52f63/blis-0.2.4.tar.gz
Collecting wasabi<1.1.0,>=0.2.0 (from spacy<2.2,>=2.1->chatterbot)
Collecting pathlib==1.0.1 (from spacy<2.2,>=2.1->chatterbot)
Collecting funcsigs; python_version == "2.7" (from pint>=0.8.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Collecting tqdm<5.0.0,>=4.10.0 (from thinc<7.1.0,>=7.0.2->spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/6c/4b/c38b5144cf167c4f52288517436ccafefe9dc01b8d1c190e18a6b154cd4a/tqdm-4.31.1-py2.py3-none-any.whl
Collecting functools32; python_version == "2.7" (from jsonschema<3.0.0,>=2.6.0->spacy<2.2,>=2.1->chatterbot)
Collecting urllib3<1.25,>=1.21.1 (from requests<3.0.0,>=2.13.0->spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/df/1c/59cca3abf96f991f2ec3131a4ffe72ae3d9ea1f5894abe8a9c5e3c77cfee/urllib3-1.24.2-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests<3.0.0,>=2.13.0->spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0.0,>=2.13.0->spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.13.0->spacy<2.2,>=2.1->chatterbot)
  Using cached https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl
Building wheels for collected packages: pymongo, blis
  Running setup.py bdist_wheel for pymongo ... done
  Stored in directory: /home/pi/.cache/pip/wheels/d2/b1/31/73cf054f56088d94e40e58dc7b6400ec2907a67b77a8367efb
  Running setup.py bdist_wheel for blis ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-L4Rc09/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/tmpmtInRWpip-wheel- --python-tag cp27:
  ('BLIS_COMPILER?', 'None')
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-2.7
  creating build/lib.linux-armv7l-2.7/blis
  copying blis/__init__.py -> build/lib.linux-armv7l-2.7/blis
  copying blis/benchmark.py -> build/lib.linux-armv7l-2.7/blis
  copying blis/about.py -> build/lib.linux-armv7l-2.7/blis
  creating build/lib.linux-armv7l-2.7/blis/tests
  copying blis/tests/__init__.py -> build/lib.linux-armv7l-2.7/blis/tests
  copying blis/tests/test_gemm.py -> build/lib.linux-armv7l-2.7/blis/tests
  copying blis/tests/common.py -> build/lib.linux-armv7l-2.7/blis/tests
  copying blis/tests/test_dotv.py -> build/lib.linux-armv7l-2.7/blis/tests
  copying blis/py.pyx -> build/lib.linux-armv7l-2.7/blis
  copying blis/cy.pyx -> build/lib.linux-armv7l-2.7/blis
  copying blis/cy.pxd -> build/lib.linux-armv7l-2.7/blis
  copying blis/__init__.pxd -> build/lib.linux-armv7l-2.7/blis
  running build_ext
  unix
  ('py_compiler', 'gcc')
  {u'LANG': u'C.UTF-8', u'VIRTUAL_ENV': u'/home/matt/repos/wheelwright/env3.6', u'SHELL': u'/bin/bash', u'LESSCLOSE': u'/usr/bin/lesspipe %s %s', u'NAME': u'LAPTOP-OMKOB                 3VM', u'PS1': u'(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\\]\\$ ',                  u'XDG_DATA_DIRS': u'/usr/local/share:/usr/share:/var/lib/snapd/desktop', u'OLDPWD': u'/home/matt/repos/flame-blis', u'TERM': u'xterm-256color', u'HOSTTYPE': u'x86_64',                  u'LESSOPEN': u'| /usr/bin/lesspipe %s', u'SHLVL': u'1', u'PWD': u'/home/matt/repos/cython-blis', u'LOGNAME': u'matt', u'USER': u'matt', u'VAGRANT_HOME': u'/home/matt/.va                 grant.d/', u'PATH': u'/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/loca                 l/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/cmde                 r/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)/Int                 el/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 File                 s/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/Prog                 ram 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:/mn                 t/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/R                 oaming/npm:/snap/bin:/mnt/c/Program Files/Oracle/VirtualBox', u'HOME': u'/home/matt', u'LS_COLORS': u'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:*.l                 z4=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;3                 1:*.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;3                 5:*.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=0                 1;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:', u'OMP_NUM_THREADS': u'1', u'_': u'/home/matt/repos/wheelwright/env3.6/bin/python                 '}
  gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpgTj1HK/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=20011                 2L -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./fr                 ame/include -I/tmp/pip-build-L4Rc09/blis/blis/_src/include/linux-x86_64
  gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /tmp/tmpgTj1HK/bli_cntx_init_haswell.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=20011                 2L -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./fr                 ame/include -I/tmp/pip-build-L4Rc09/blis/blis/_src/include/linux-x86_64
  gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/penryn/bli_cntx_init_penryn.c -o /tmp/tmpgTj1HK/bli_cntx_init_penryn.o -O2 -fomit-frame-pointer -fPIC -std=c99 -D_PO                 SIX_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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
  gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/piledriver/bli_cntx_init_piledriver.c -o /tmp/tmpgTj1HK/bli_cntx_init_piledriver.o -O2 -fomit-frame-pointer -fPIC -s                 td=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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
  gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/sandybridge/bli_cntx_init_sandybridge.c -o /tmp/tmpgTj1HK/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./fra                 me/1/ -I./frame/include -I/tmp/pip-build-L4Rc09/blis/blis/_src/include/linux-x86_64
  gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/steamroller/bli_cntx_init_steamroller.c -o /tmp/tmpgTj1HK/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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
  gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c -o /tmp/tmpgTj1HK/bli_amaxv_zen_int.o -O3 -mavx2 -mfma -mfpmath=sse -march=core-avx2 -fPI                 C -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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
  gcc: error: unrecognized argument in option ‘-march=core-avx2’
  gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2 ar                 mv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a crc armv8.1-a armv8.1-a crc iwmmxt iwmmxt2 native
  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 "<string>", line 1, in <module>
    File "/tmp/pip-build-L4Rc09/blis/setup.py", line 266, in <module>
      'Topic :: Scientific/Engineering'
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 179, in run
      self.run_command('build')
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
      self.run_command(cmd_name)
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/tmp/pip-build-L4Rc09/blis/setup.py", line 105, in build_extensions
      objects = self.compile_objects(compiler.split('-')[0], arch, OBJ_DIR)
    File "/tmp/pip-build-L4Rc09/blis/setup.py", line 184, in compile_objects
      objects.append(self.build_object(env=env, **spec))
    File "/tmp/pip-build-L4Rc09/blis/setup.py", line 198, in build_object
      subprocess.check_call(command, cwd=BLIS_DIR)
    File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '[u'gcc', '-c', u'/tmp/pip-build-L4Rc09/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c', '-o', u'/tmp/tmpgTj1HK/bli_amaxv_zen_                 int.o', u'-O3', u'-mavx2', u'-mfma', u'-mfpmath=sse', u'-march=core-avx2', u'-fPIC', u'-std=c99', u'-D_POSIX_C_SOURCE=200112L', u'-DBLIS_VERSION_STRING="0.5.0-6"', u'-DB                 LIS_IS_BUILDING_LIBRARY', u'-Iinclude/linux-x86_64', u'-I./frame/3/', u'-I./frame/ind/ukernels/', u'-I./frame/1m/', u'-I./frame/1f/', u'-I./frame/1/', u'-I./frame/includ                 e', '-I/tmp/pip-build-L4Rc09/blis/blis/_src/include/linux-x86_64']' returned non-zero exit status 1

  ----------------------------------------
  Failed building wheel for blis
  Running setup.py clean for blis
Successfully built pymongo
Failed to build blis
Installing collected packages: six, singledispatch, nltk, pymongo, mathparse, wasabi, numpy, blis, cymem, pathlib, srsly, murmurhash, preshed, plac, tqdm, thinc, functoo                 ls32, jsonschema, urllib3, idna, chardet, certifi, requests, spacy, pytz, python-dateutil, pyyaml, sqlalchemy, funcsigs, pint, chatterbot
  Running setup.py install for blis ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-L4Rc09/blis/setup.py';f=getattr(tokenize, 'open', open)(__fi                 le__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-c71se4-record/install-record.txt --single-version-ex                 ternally-managed --compile --user --prefix=:
    ('BLIS_COMPILER?', 'None')
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-2.7
    creating build/lib.linux-armv7l-2.7/blis
    copying blis/__init__.py -> build/lib.linux-armv7l-2.7/blis
    copying blis/benchmark.py -> build/lib.linux-armv7l-2.7/blis
    copying blis/about.py -> build/lib.linux-armv7l-2.7/blis
    creating build/lib.linux-armv7l-2.7/blis/tests
    copying blis/tests/__init__.py -> build/lib.linux-armv7l-2.7/blis/tests
    copying blis/tests/test_gemm.py -> build/lib.linux-armv7l-2.7/blis/tests
    copying blis/tests/common.py -> build/lib.linux-armv7l-2.7/blis/tests
    copying blis/tests/test_dotv.py -> build/lib.linux-armv7l-2.7/blis/tests
    copying blis/py.pyx -> build/lib.linux-armv7l-2.7/blis
    copying blis/cy.pyx -> build/lib.linux-armv7l-2.7/blis
    copying blis/cy.pxd -> build/lib.linux-armv7l-2.7/blis
    copying blis/__init__.pxd -> build/lib.linux-armv7l-2.7/blis
    running build_ext
    unix
    ('py_compiler', 'gcc')
    {u'LANG': u'C.UTF-8', u'VIRTUAL_ENV': u'/home/matt/repos/wheelwright/env3.6', u'SHELL': u'/bin/bash', u'LESSCLOSE': u'/usr/bin/lesspipe %s %s', u'NAME': u'LAPTOP-OMK                 OB3VM', u'PS1': u'(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\\]\\$                  ', u'XDG_DATA_DIRS': u'/usr/local/share:/usr/share:/var/lib/snapd/desktop', u'OLDPWD': u'/home/matt/repos/flame-blis', u'TERM': u'xterm-256color', u'HOSTTYPE': u'x86_64'                 , u'LESSOPEN': u'| /usr/bin/lesspipe %s', u'SHLVL': u'1', u'PWD': u'/home/matt/repos/cython-blis', u'LOGNAME': u'matt', u'USER': u'matt', u'VAGRANT_HOME': u'/home/matt/.                 vagrant.d/', u'PATH': u'/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/lo                 cal/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/cm                 der/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 File                 s/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:/mn                 t/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)/I                 ntel/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 Fi                 les/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/Pr                 ogram 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', u'HOME': u'/home/matt', u'LS_COLORS': u'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;3                 1:*.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:', u'OMP_NUM_THREADS': u'1', u'_': u'/home/matt/repos/wheelwright/env3.6/bin/pyth                 on'}
    gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpSv1mpV/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200                 112L -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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
    gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /tmp/tmpSv1mpV/bli_cntx_init_haswell.o -O3 -fPIC -std=c99 -D_POSIX_C_SOURCE=200                 112L -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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
    gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/penryn/bli_cntx_init_penryn.c -o /tmp/tmpSv1mpV/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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
    gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/piledriver/bli_cntx_init_piledriver.c -o /tmp/tmpSv1mpV/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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
    gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/sandybridge/bli_cntx_init_sandybridge.c -o /tmp/tmpSv1mpV/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./f                 rame/1/ -I./frame/include -I/tmp/pip-build-L4Rc09/blis/blis/_src/include/linux-x86_64
    gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/config/steamroller/bli_cntx_init_steamroller.c -o /tmp/tmpSv1mpV/bli_cntx_init_steamroller.o -O2 -fomit-frame-pointer -fP                 IC -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-build-L4Rc09/blis/blis/_src/include/linux-x86_64
    gcc -c /tmp/pip-build-L4Rc09/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c -o /tmp/tmpSv1mpV/bli_amaxv_zen_int.o -O3 -mavx2 -mfma -mfpmath=sse -march=core-avx2 -f                 PIC -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/1                 m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-build-L4Rc09/blis/blis/_src/include/linux-x86_64
    gcc: error: unrecognized argument in option ‘-march=core-avx2’
    gcc: note: valid arguments to ‘-march=’ are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6kz armv6s-m armv6t2                  armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a crc armv8.1-a armv8.1-a crc iwmmxt iwmmxt2 native
    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 "<string>", line 1, in <module>
      File "/tmp/pip-build-L4Rc09/blis/setup.py", line 266, in <module>
        'Topic :: Scientific/Engineering'
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
        self.run_command('build')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/tmp/pip-build-L4Rc09/blis/setup.py", line 105, in build_extensions
        objects = self.compile_objects(compiler.split('-')[0], arch, OBJ_DIR)
      File "/tmp/pip-build-L4Rc09/blis/setup.py", line 184, in compile_objects
        objects.append(self.build_object(env=env, **spec))
      File "/tmp/pip-build-L4Rc09/blis/setup.py", line 198, in build_object
        subprocess.check_call(command, cwd=BLIS_DIR)
      File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '[u'gcc', '-c', u'/tmp/pip-build-L4Rc09/blis/blis/_src/kernels/zen/1/bli_amaxv_zen_int.c', '-o', u'/tmp/tmpSv1mpV/bli_amaxv_ze                 n_int.o', u'-O3', u'-mavx2', u'-mfma', u'-mfpmath=sse', u'-march=core-avx2', u'-fPIC', u'-std=c99', u'-D_POSIX_C_SOURCE=200112L', u'-DBLIS_VERSION_STRING="0.5.0-6"', u'-                 DBLIS_IS_BUILDING_LIBRARY', u'-Iinclude/linux-x86_64', u'-I./frame/3/', u'-I./frame/ind/ukernels/', u'-I./frame/1m/', u'-I./frame/1f/', u'-I./frame/1/', u'-I./frame/incl                 ude', '-I/tmp/pip-build-L4Rc09/blis/blis/_src/include/linux-x86_64']' returned non-zero exit status 1

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-L4Rc09/blis/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().repl                 ace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-c71se4-record/install-record.txt --single-version-externally-managed --compi                 le --user --prefix=" failed with error code 1 in /tmp/pip-build-L4Rc09/blis/
@IljaGrebel
Copy link
Author

no one know the issue of installing ChatterBot on RPi?

@IljaGrebel
Copy link
Author

I was trying with pip install setuptools --upgrade and got now some other errors..

pip install chatterbot
Collecting chatterbot
  Using cached https://files.pythonhosted.org/packages/6c/0e/dac0d82f34f86bf509cf5ef3e2dfc5aa7d444bd843a2330ceb7d854f84f2/ChatterBot-1.0.5-py2.py3-none-any.whl
Collecting nltk<4.0,>=3.2 (from chatterbot)
Collecting pymongo<4.0,>=3.3 (from chatterbot)
Collecting mathparse<0.2,>=0.1 (from chatterbot)
Collecting spacy<2.2,>=2.1 (from chatterbot)
Collecting pytz (from chatterbot)
  Using cached https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl
Collecting python-dateutil<2.8,>=2.7 (from chatterbot)
  Using cached https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl
Collecting pyyaml<5.2,>=5.1 (from chatterbot)
Collecting sqlalchemy<1.3,>=1.2 (from chatterbot)
Collecting pint>=0.8.1 (from chatterbot)
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
    require_hashes
  File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page
    "Cache-Control": "max-age=600",
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'

@jintian93
Copy link

@IljaGrebel It is related to spacy which is very heavy for Raspberry PI

@jayrawatrj
Copy link

is there any way to install chatterbot on raspberry pi??

@IljaGrebel
Copy link
Author

is there any way to install chatterbot on raspberry pi??

Yes and no.. I read that you need a 64 bit on RPi.. which u cant get with official release.. but there is one 64 bit release in github.. if you want u can try it

@jayrawatrj
Copy link

@IljaGrebel can you give me the link, I want to try

@IljaGrebel
Copy link
Author

@jayrawatrj here it is https://github.com/bamarni/pi64

@zubairkhalid11
Copy link

pip install --ignore-installed PyYAML

this worked once you have done that pip install chatterbot

@gunthercox
Copy link
Owner

I believe the error you encountered that prevented ChatterBot from being installed has been resolved by #2027 and released in version 1.0.8. Please let me know if you encounter any further issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants