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.09k stars 4.45k forks source link

chatterbot still won't load with latest anaconda/python 3.8.5 #2126

Open oilcooled opened 3 years ago

oilcooled commented 3 years ago

I have no idea how to get chatterbot to load chatterbot_error.pdf . Any help would be appreciated. I've reloaded anaconda 5 times. here is a snippet, I also attached a file that shows the 245 pages worth of errors.

(base) Sajits-MacBook-Pro:~ sajitjumani$ pip install chatterbot Collecting chatterbot Using cached ChatterBot-1.0.5-py2.py3-none-any.whl (67 kB) Requirement already satisfied: nltk<4.0,>=3.2 in ./opt/anaconda3/lib/python3.8/site-packages (from chatterbot) (3.5) Collecting pint>=0.8.1 Using cached Pint-0.16.1-py2.py3-none-any.whl (205 kB) Collecting pymongo<4.0,>=3.3 Using cached pymongo-3.11.3-cp38-cp38-macosx_10_9_x86_64.whl (380 kB) Requirement already satisfied: pytz in ./opt/anaconda3/lib/python3.8/site-packages (from chatterbot) (2020.1) Collecting pyyaml<5.2,>=5.1 Using cached PyYAML-5.1.2.tar.gz (265 kB) Collecting python-dateutil<2.8,>=2.7 Using cached python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB) Collecting spacy<2.2,>=2.1 Using cached spacy-2.1.9.tar.gz (30.7 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /Users/sajitjumani/opt/anaconda3/bin/python /Users/sajitjumani/opt/anaconda3/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-build-env-9s12ifvm/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.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' cwd: None Complete output (1321 lines): Collecting setuptools Using cached setuptools-53.0.0-py3-none-any.whl (784 kB) Collecting wheel<0.33.0,>0.32.0 Using cached wheel-0.32.3-py2.py3-none-any.whl (21 kB) Collecting Cython Using cached Cython-0.29.22-cp38-cp38-macosx_10_9_x86_64.whl (1.9 MB) Collecting cymem<2.1.0,>=2.0.2 Using cached cymem-2.0.5-cp38-cp38-macosx_10_9_x86_64.whl (31 kB) Processing ./Library/Caches/pip/wheels/5a/d0/29/7f6993a759349eae3d0ecca7e2fbc88acdd8650b25e6c6ad8a/preshed-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl Collecting murmurhash<1.1.0,>=0.28.0 Using cached murmurhash-1.0.5-cp38-cp38-macosx_10_9_x86_64.whl (18 kB) Processing ./Library/Caches/pip/wheels/f4/5b/cc/8a96be826c5d22ca28e3c30f785b22edc57ffb2d349fa780be/thinc-7.0.8-cp38-cp38-macosx_10_9_x86_64.whl Collecting wasabi<1.1.0,>=0.0.9 Using cached wasabi-0.8.2-py3-none-any.whl (23 kB) Collecting blis<0.3.0,>=0.2.1 Using cached blis-0.2.4.tar.gz (1.5 MB) Collecting tqdm<5.0.0,>=4.10.0 Using cached tqdm-4.57.0-py2.py3-none-any.whl (72 kB) Collecting numpy>=1.7.0 Using cached numpy-1.20.1-cp38-cp38-macosx_10_9_x86_64.whl (16.0 MB) Collecting srsly<1.1.0,>=0.0.6 Using cached srsly-1.0.5-cp38-cp38-macosx_10_9_x86_64.whl (177 kB) Collecting plac<1.0.0,>=0.9.6 Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB) Building wheels for collected packages: blis Building wheel for blis (setup.py): started Building wheel for blis (setup.py): still running... Building wheel for blis (setup.py): still running... Building wheel for blis (setup.py): still running... Building wheel for blis (setup.py): still running... Building wheel for blis (setup.py): finished with status 'error' ERROR: Command errored out with exit status 1: command: /Users/sajitjumani/opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/setup.py'"'"'; file='"'"'/private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/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 /private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-wheel-hyhl3wkz cwd: /private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/ Complete output (634 lines): BLIS_COMPILER? None running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.8 creating build/lib.macosx-10.9-x86_64-3.8/blis copying blis/benchmark.py -> build/lib.macosx-10.9-x86_64-3.8/blis copying blis/init.py -> build/lib.macosx-10.9-x86_64-3.8/blis copying blis/about.py -> build/lib.macosx-10.9-x86_64-3.8/blis creating build/lib.macosx-10.9-x86_64-3.8/blis/tests copying blis/tests/init.py -> build/lib.macosx-10.9-x86_64-3.8/blis/tests copying blis/tests/test_dotv.py -> build/lib.macosx-10.9-x86_64-3.8/blis/tests copying blis/tests/test_gemm.py -> build/lib.macosx-10.9-x86_64-3.8/blis/tests copying blis/tests/common.py -> build/lib.macosx-10.9-x86_64-3.8/blis/tests copying blis/cy.pyx -> build/lib.macosx-10.9-x86_64-3.8/blis copying blis/py.pyx -> build/lib.macosx-10.9-x86_64-3.8/blis copying blis/init.pxd -> build/lib.macosx-10.9-x86_64-3.8/blis copying blis/cy.pxd -> build/lib.macosx-10.9-x86_64-3.8/blis running build_ext /Users/sajitjumani/opt/anaconda3/lib/python3.8/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: /private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/blis/cy.pxd tree = Parsing.p_module(s, pxd, full_module_name) /Users/sajitjumani/opt/anaconda3/lib/python3.8/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: /private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/blis/py.pyx tree = Parsing.p_module(s, pxd, full_module_name) Processing blis/cy.pyx Processing blis/py.pyx 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/cython-blis/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/cython-blis/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\]\$ ', 'VAGRANTHOME': '/home/matt/.vagrant.d/', 'LESSOPEN': '| /usr/bin/lesspipe %s', '': '/home/matt/repos/cython-blis/env3.6/bin/python'} clang -c /private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/blis/_src/config/bulldozer/bli_cntx_init_bulldozer.c -o /var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/tmpp6qm_ckr/bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/darwin-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/blis/_src/include/darwin-x86_64 clang: warning: optimization flag '-funroll-all-loops' is not supported [-Wignored-optimization-argument] clang -c /private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/tmpp6qm_ckr/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/darwin-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/blis/_src/include/darwin-x86_64 clang -c /private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/blis/_src/config/haswell/bli_cntx_init_haswell.c -o /var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/tmpp6qm_ckr/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/darwin-x86_64 -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/private/var/folders/7m/68w31f_506g6d764v38mw6kw0000gn/T/pip-install-6cx8dcso/blis/blis/_src/include/darwin-x86_64

TheSecMaven commented 3 years ago

I am running into this, we use python 3.8 and above as now 3.9 is rolling out.

Using cached spacy-2.1.9.tar.gz (30.7 MB)

gets used when spacy doesn't have a wheel for thee version of python you are running, and 2.1.9 only supports through python 3.7, we need the maintainers of this repo to help us get this project up to a newer version of python, so that they can also upgrade their requirements to a newer version of spacy, so we can run a python app with chatterbot on something newer than 3.7 python.