首页 新闻 会员 周边 捐助

安装chatterbot出错

0
悬赏园豆:120 [已关闭问题] 关闭于 2020-06-22 20:33

已经根据提示安装了所有软件

C:\WINDOWS\system32>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple chatterbot
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting chatterbot
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/12/b7/d8a034fbef04cb50fc7a9f5c6b6d27f1db186ffd58f66d7301e16abfd9ca/ChatterBot-1.1.0-py2.py3-none-any.whl (63 kB)
Collecting mathparse<0.2,>=0.1
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c3/e5/4910fb85950cb960fcf3f5aabe1c8e55f5c9201788a1c1302b570a7e1f84/mathparse-0.1.2-py3-none-any.whl (7.2 kB)
Requirement already satisfied: nltk<4.0,>=3.2 in e:\software\python36\lib\site-packages (from chatterbot) (3.5)
Requirement already satisfied: pytz in c:\users\tuxgd\appdata\roaming\python\python36\site-packages (from chatterbot) (2019.3)
Collecting spacy<2.2,>=2.1
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/1f/e2/46650d03c7ff2b57ed7af211d41c3f606540f7adea92b5af65fcf9f605c0/spacy-2.1.9.tar.gz (30.7 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: 'e:\software\python36\python.exe' 'e:\software\python36\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\tuxgd\AppData\Local\Temp\pip-build-env-vfg9en27\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.tuna.tsinghua.edu.cn/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 (77 lines):
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting setuptools
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e9/93/4860cebd5ad3ff2664ad3c966490ccb46e3b88458b2095145bca11727ca4/setuptools-47.3.1-py3-none-any.whl (582 kB)
Collecting wheel<0.33.0,>0.32.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ff/47/1dfa4795e24fd6f93d5d58602dd716c3f101cfd5a77cd9acbe519b44a0a9/wheel-0.32.3-py2.py3-none-any.whl (21 kB)
Collecting Cython
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/aa/67/fdec3e9a1ea5c2b148f09a812702efdd7c9416f0d680a32d527ed9af2eef/Cython-0.29.20-cp36-cp36m-win32.whl (1.5 MB)
Collecting cymem<2.1.0,>=2.0.2
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ce/8d/d095bbb109a004351c85c83bc853782fc27692693b305dd7b170c36a1262/cymem-2.0.3.tar.gz (51 kB)
Collecting preshed<2.1.0,>=2.0.1
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/03/03/149f83b73b5f597b6e7a5689dab7959a8c74759a47c30cb1fd2b74bf9686/preshed-2.0.1-cp36-cp36m-win32.whl (64 kB)
Collecting murmurhash<1.1.0,>=0.28.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/22/e9/411be1845f1ac07ae3bc40a4b19ba401819baed4fa63b4f5ef28b2300eb4/murmurhash-1.0.2.tar.gz (35 kB)
Collecting thinc<7.1.0,>=7.0.8
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/92/39/ea2a3d5b87fd52fc865fd1ceb7b91dca1f85e227d53e7a086d260f6bcb93/thinc-7.0.8.tar.gz (1.9 MB)
Collecting blis<0.3.0,>=0.2.1
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/59/9e/84a83616cbe5daa94909da38b780e93bf566dc2113c3dc35d7b4cad52f63/blis-0.2.4.tar.gz (1.5 MB)
Collecting wasabi<1.1.0,>=0.0.9
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/21/e1/e4e7b754e6be3a79c400eb766fb34924a6d278c43bb828f94233e0124a21/wasabi-0.6.0-py3-none-any.whl (20 kB)
Collecting srsly<1.1.0,>=0.0.6
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c4/28/ffb9f0b940041aeaec2194e840b5ffe19d0ae252de89579fa8b810174d9f/srsly-1.0.2.tar.gz (192 kB)
Collecting numpy>=1.7.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6f/f2/6b9074c4e4d08196d8b373702c16f84978196dc627298e710af7b03c09e4/numpy-1.18.5-cp36-cp36m-win32.whl (10.8 MB)
Collecting plac<1.0.0,>=0.9.6
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl (20 kB)
Collecting tqdm<5.0.0,>=4.10.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f3/76/4697ce203a3d42b2ead61127b35e5fcc26bba9a35c03b32a2bd342a4c869/tqdm-4.46.1-py2.py3-none-any.whl (63 kB)
Using legacy setup.py install for cymem, since package 'wheel' is not installed.
Using legacy setup.py install for murmurhash, since package 'wheel' is not installed.
Using legacy setup.py install for thinc, since package 'wheel' is not installed.
Using legacy setup.py install for blis, since package 'wheel' is not installed.
Using legacy setup.py install for srsly, since package 'wheel' is not installed.
ERROR: gensim 3.8.3 has requirement Cython==0.29.14, but you'll have cython 0.29.20 which is incompatible.
Installing collected packages: setuptools, wheel, Cython, cymem, preshed, murmurhash, numpy, blis, wasabi, srsly, plac, tqdm, thinc
Running setup.py install for cymem: started
Running setup.py install for cymem: finished with status 'done'
Running setup.py install for murmurhash: started
Running setup.py install for murmurhash: finished with status 'done'
Running setup.py install for blis: started
Running setup.py install for blis: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'e:\software\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\blis\setup.py'"'"'; file='"'"'C:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\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 'C:\Users\tuxgd\AppData\Local\Temp\pip-record-yx8kofhc\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\tuxgd\AppData\Local\Temp\pip-build-env-vfg9en27\overlay' --compile --install-headers 'C:\Users\tuxgd\AppData\Local\Temp\pip-build-env-vfg9en27\overlay\Include\blis'
cwd: C:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\blis
Complete output (31 lines):
BLIS_COMPILER? None
running install
running build
running build_py
creating build
creating build\lib.win32-3.6
creating build\lib.win32-3.6\blis
copying blis\about.py -> build\lib.win32-3.6\blis
copying blis\benchmark.py -> build\lib.win32-3.6\blis
copying blis_init_.py -> build\lib.win32-3.6\blis
creating build\lib.win32-3.6\blis\tests
copying blis\tests\common.py -> build\lib.win32-3.6\blis\tests
copying blis\tests\test_dotv.py -> build\lib.win32-3.6\blis\tests
copying blis\tests\test_gemm.py -> build\lib.win32-3.6\blis\tests
copying blis\tests_init_.py -> build\lib.win32-3.6\blis\tests
copying blis\cy.pyx -> build\lib.win32-3.6\blis
copying blis\py.pyx -> build\lib.win32-3.6\blis
copying blis\cy.pxd -> build\lib.win32-3.6\blis
copying blis_init_.pxd -> build\lib.win32-3.6\blis
running build_ext
e:\software\python36\lib\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: C:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\blis\blis\cy.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
e:\software\python36\lib\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: C:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\blis\blis\py.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Processing blis\cy.pyx
Processing blis\py.pyx
msvc
py_compiler msvc
{'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\]\$ ', 'VAGRANT_HOME': '/home/matt/.vagrant.d/', 'LESSOPEN': '| /usr/bin/lesspipe %s', '_': '/home/matt/repos/cython-blis/env3.6/bin/python'}
clang -c C:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\blis\blis_src\config\bulldozer\bli_cntx_init_bulldozer.c -o C:\Users\tuxgd\AppData\Local\Temp\tmpkrl3ko89\bli_cntx_init_bulldozer.o -O2 -funroll-all-loops -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.5.0-6" -DBLIS_IS_BUILDING_LIBRARY -Iinclude\windows-x86_64 -I.\frame\3\ -I.\frame\ind\ukernels\ -I.\frame\1m\ -I.\frame\1f\ -I.\frame\1\ -I.\frame\include -IC:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\blis\blis_src\include\windows-x86_64
error: [WinError 2] 系统找不到指定的文件。
----------------------------------------
ERROR: Command errored out with exit status 1: 'e:\software\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\blis\setup.py'"'"'; file='"'"'C:\Users\tuxgd\AppData\Local\Temp\pip-install-ujysj6z4\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 'C:\Users\tuxgd\AppData\Local\Temp\pip-record-yx8kofhc\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\tuxgd\AppData\Local\Temp\pip-build-env-vfg9en27\overlay' --compile --install-headers 'C:\Users\tuxgd\AppData\Local\Temp\pip-build-env-vfg9en27\overlay\Include\blis' Check the logs for full command output.

ERROR: Command errored out with exit status 1: 'e:\software\python36\python.exe' 'e:\software\python36\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\tuxgd\AppData\Local\Temp\pip-build-env-vfg9en27\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.tuna.tsinghua.edu.cn/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' Check the logs for full command output.

Ctrl+c_Ctrl+v程序员的主页 Ctrl+c_Ctrl+v程序员 | 菜鸟二级 | 园豆:324
提问于:2020-06-20 13:39
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册