我尝试了pip install ChatterBot
,但最终出现了错误。我使用的是Python 3.8 64位rc1。我确实安装了所有的构建工具。请帮帮我!以下是powershell片段-
使用缓存收集聊天机器人ChatterBot-1.0.5-py2.py3-none-any.whl(67kB)收集pymongo<4.0,>=3.3下载pymongo-3-3.10.1-cp38-cp38-win_amd64.whl(355 kB)|████████████████████████████████|355 kB 78 kB/s收集nltk<4.0,>=3.2使用缓存的nltk-3.5.zip(1.4 MB)收集python dateutil<2.8,>=2.7使用缓存python_datel-2.75-py2.py3-none-any.whl(225 kB)要求已经满足:pytz在c: \users\srpx3\appdata\local\programs\python38\lib\site软件包(来自ChatterBot)(2020.1)收集spacy<2.2,>=2.1使用缓存spacy-2.19.tar.gz(30.7 MB)正在安装内部版本依赖项。。。错误错误:命令出错,退出状态为1:命令:'c:\users\srpx3\appdata\local\programs\python\python38\python.exe''c:\users\srpx3\appdata\local\programs\python38\lib\site packages\pip'install--忽略已安装--无用户--前缀'C:\Users\srpx3\AppData\Local\Temp\pip-build-env-h_upx5_5\overlay'--无警告脚本位置--no binary:none:--only binary:none:-ihttps://pypi.org/simple--setuptools的轮子>0.32.0,<0.33.0'Cython'cymem>=2.0.2,<2.1.0"预设>=2.0.1,<2.1.0’'murmurhash>=0.28.0,<1.1.0英寸厚度>=7.08,<7.1.0’cwd:None完整输出(105行):收集setuptools使用缓存的设置工具-46.2.0-py3-none-any.whl(582kB)收集轮<0.33.0,>0.32.0使用缓存的轮子-0.32.3-py2.py3-none-any.whl(21 kB)收集Cython使用缓存的Cython-0.29.17-cp38-cp38-win_amd64.whl(1.7MB)收集cymem<2.1.0,>=2.0.2使用缓存的cymem-2.0.3-cp38-cp38-win_amd64.whl(33kB)收集预处理<2.1.0,>=2.0.1使用缓存的预调度-2.0.1.tar.gz(113kB)收集murmurhash<1.1.0,>=0.28.0使用缓存的murmurhash-1.0.2-cp38-cp38-win_amd64.whl(20kB)收集thinc<7.1.0,>=7.08使用缓存的thinc-7.0.8.tar.gz(1.9 MB)收集blis<0.3.0,>=0.2.1使用缓存的blis-0.2.4.tar.gz(1.5MB)收集芥末<1.1.0,>=0.0.9使用缓存的wasabi-0.6.0-py3-none-any.whl(20kB)收集srsly<1.1.0,>=0.0.6下载srsly-1.0.2-cp38-win_amd64.whl(181 kB)正在收集numpy>=1.7.0使用缓存的numpy-1.18.4-cp38-cp38-win_amd64.whl(12.8MB)收集plac<1.0.0,>=0.9.6使用缓存的plac-0.9.6-py2.py3-none-any.whl(20kB)收集tqdm<5.0.0,>=4.10.0使用缓存的tqdm-4.46.0-py2.py3-none-any.whl(63kB)为收集的包构建轮子:preshed、thinc、bli预shed(setup.py)的构建轮子:已启动为预shed(setup.py)构建轮子:已完成,状态为"完成"已为preshed创建轮子:filename=preshed-2.0.1-cp38-cp38m-win_amd64.whl size=73256sha256=459c0e938c74992953676d80c906a5dfa1b6a6374dda9f585252581ea3dfb存储在目录:c:\users\srpx3\appdata\local\pip\cache\wheels\5a\d0\29\7f6993a759349eae3中的操作操作步骤为:2acca7e2fbc88acdd8650b25e6c6ad8athinc(setup.py)的构建轮子:已启动thinc(setup.py)的构建轮子:已完成,状态为"完成"已为thinc创建轮子:filename=thinc-7.0.8-cp38-cp38-win_amd64.whl size=1961138sha256=499dc0f5fd5961530ac32c787e92ff117e6f5c723853db28a78350490089483存储在目录:c:\users\srpx3\appdata\local\pip\cache\wheels\f4\5b\cc\8a96be826c5d22ca28e3c30f785b22edc57ffb2d349fa780be构建整体叶盘(setup.py):已启动建立整体叶盘(setup.py):已完成,状态为"error"错误:命令出错,退出状态为1:命令:"c:\users\srpx3\appdata\local\programs\python\python38\python.exe"-u-c'导入sys、setuptools、tokenize;sys.argv[0]='"'"'C:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\setup.py'"';文件='"'"'C:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\setup.py'"'";f=getattr(标记化,'"'"'打开'"',打开)(文件);code=f.read().replace('"'"'\r\n'""','"'"'\n'"');f.关闭();exec(compile(code,文件,'"'"'exec'"')')bdist_wheel-d'C:\Users\srpx3\AppData\Local\Temp\pip-wheel-c8gofksg'cwd:C:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\完整输出(25行):BLIS_COMPILER?没有一个运行bdist_wheel正在运行生成运行build_py创建生成正在创建build\lib.win-ad64-3.8创建build\lib.win-ad64-3.8\blis复制blis\about.py->build\lib.win-ad64-3.8\blis复制blis\benchmark.py->build\lib.win-ad64-3.8\blis复制blis_init__.py->build\lib.win-ad64-3.8\blis创建build\lib.win-ad64-3.8\blis\tests复制blis\tests\common.py->build\lib.win-ad64-3.8\blis\tests复制blis\tests\test_dotv.py->build\lib.win-ad64-3.8\blis\tests复制blis\tests\test_gemm.py->build\lib.win-ad64-3.8\blis\tests复制blis\tests_init__.py->build\lib.win-ad64-3.8\blis\tests复制blis\cy.pyx->build\lib.win-ad64-3.8\blis复制blis\py.pyx->build\lib.win-ad64-3.8\blis复制blis\cy.pxd->build\lib.win-ad64-3.8\blis正在复制blis_init__.pxd->build\lib.win-ad64-3.8\blis运行build_ext错误:[WinError 2]系统找不到指定的文件msvcpy_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;三十三;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=0;31:.taz=01;31:.lha=01;31-.lz4=01;31/.lzh=01;31..lzma=01;31:.tlz=01;01:.txz=01,31:.tzo=01,31:%t7z=01。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:.jjpe=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:.tif=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/lisspipe%s%s","LANG":"C.UTF-8"、"OLDPWD":"/home/matt/reso/frame-blis"、"VIRTUAL_ENV":'/home/matt/reso/cython-blis/env3.6','USER':'matt','PWD':'/home/matt/reso/cython-blis','home':'/home/mett','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/reso/cython-blis/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/bin://usr/sbin:/usr/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximu5/conemu/Scripts:/mnt/c/Users/matt/Documents/cmder/vender/conemu-aximu5:/mnt/c/Users/matt/conemu-max us5/conemu:/mnt/c/Python37/脚本:/mnt/c/Python37:/mnt/c/Pro克文件(x86)/英特尔/英特尔(R)管理引擎组件/iCLS:/mnt/c/程序文件/Inter/Intel(R)管理引擎组件/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v.0:/mnt/c/c/Program文件(x86)/英特尔/英特尔(R)管理引擎组件/DAL:/mnt/c/程序文件/Inter/Intel(R)管理引擎组件/DAL:/mnt/c/程序文件(x86)/Inter/Intel(R)管理引擎组件/IPT:/mnt/c/程序文件/Inter/Intel(R)管理发动机部件/IPT:/mnt/c/Program文件/Inter/WiFi/bin:/mnt/c/Program Files/Common文件/Inter/WirelessCommon:/mnt/c/Program Files(x86)/NVIDIACorporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program文件/Git/cmd:/mnt/c/Program文件/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/c/WindowsSystem32/WindowsPowerShell/v.0.0:/mnt/c\Windows/System32_/OpenSSH:/mnt/c/Program文件/nodjs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Locat/Programs/MicrosoftVS代码/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program文件/Oracle/VirtualBox','PS1':'(env3.6)\[\e]0;\u@\h:\w\a\]${debian_chroot:+($debian_chloot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033/01;34m\]\w\[\033[200m\]\$','VAGRANT_HOME':'/HOME/matt/.farrant.d/','LESSOPEN':'|/usr/bin/lisspipe%s','_':"/home/matt/reso/cython-blis/env3.6/bin/python"}clang-c c:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\blis_src\config\polder\bli_cntx_init_bulldozer.c-o C:\Users\srpx3\AppData\Local\Temp\tmp4il6g9mr\bli_cntx_init_bulldozer。o-O2-播放所有循环-std=c99-D_POSIX_C_SOURCE=200112L-DBLIS_VERSION_STRING="0.5.0-6"-DBLIS_IS_BUILDING_BRARY-I包含\windows-x8_64-I。\帧\3\-I。\帧\ind\ukernels\-I。\框架\1m\-I。\第1帧。\第1帧。\frame\include-IC:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\blis_src\include\windows-x86_64----------------------------------------错误:构建整体叶盘失败为blis运行setup.py clean成功构建预处理thinc无法构建blis正在安装收集的包:setuptools,轮子,Cython,cymem,preshed,murmurhash,numpy,blis,wasabi,srsly,plac、tqdm、thinc正在为blis运行setup.py install:已启动正在为blis运行setup.py安装:已完成,状态为"error"错误:命令出错,退出状态为1:命令:"c:\users\srpx3\appdata\local\programs\python\python38\python.exe"-u-c'导入sys、setuptools、tokenize;sys.argv[0]='"'"'C:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\setup.py'"';文件='"'"'C:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\setup.py'"'";f=getattr(标记化,'"'"'打开'"',打开)(文件);code=f.read().replace('"'"'\r\n'""','"'"'\n'"');f.关闭();exec(compile(code,文件,'"'"'exec'"')')安装--记录'C:\Users\srpx3\AppData\Local\Temp\pip-record-e10f22k2\install record.txt'--单一版本外部管理--前缀"C:\Users\srpx3\AppData\Local\Temp\pip-build-env-h_upx5_5\overlay"--compile--安装标头"C:\Users\srpx3\AppData\Local\Temp\pip-build-env-h_upx5_5\overlay\Include\blis"cwd:C:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\完整输出(25行):BLIS_COMPILER?没有一个正在运行安装正在运行生成运行build_py创建生成正在创建build\lib.win-ad64-3.8创建build\lib.win-ad64-3.8\blis复制blis\about.py->build\lib.win-ad64-3.8\blis复制blis\benchmark.py->build\lib.win-ad64-3.8\blis复制blis_init__.py->build\lib.win-ad64-3.8\blis创建build\lib.win-ad64-3.8\blis\tests复制blis\tests\common.py->build\lib.win-ad64-3.8\blis\tests复制blis\tests\test_dotv.py->build\lib.win-ad64-3.8\blis\tests复制blis\tests\test_gemm.py->build\lib.win-ad64-3.8\blis\tests复制blis\tests_init__.py->build\lib.win-ad64-3.8\blis\tests复制blis\cy.pyx->build\lib.win-ad64-3.8\blis复制blis\py.pyx->build\lib.win-ad64-3.8\blis复制blis\cy.pxd->build\lib.win-ad64-3.8\blis正在复制blis_init__.pxd->build\lib.win-ad64-3.8\blis运行build_ext错误:[WinError 2]系统找不到指定的文件msvcpy_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;三十三;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=0;31:.taz=01;31:.lha=01;31-.lz4=01;31/.lzh=01;31..lzma=01;31:.tlz=01;01:.txz=01,31:.tzo=01,31:%t7z=01。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:.jjpe=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:.tif=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/lisspipe%s%s","LANG":"C.UTF-8"、"OLDPWD":"/home/matt/reso/frame-blis"、"VIRTUAL_ENV":'/home/matt/reso/cython-blis/env3.6','USER':'matt','PWD':'/home/matt/reso/cython-blis','home':'/home/mett','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/reso/cython-blis/env3.6/bin:/tmp/google-cloud-sdk/bin:/usr/local/bin://usr/sbin:/usr/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximu5/conemu/Scripts:/mnt/c/Users/matt/Documents/cmder/vender/conemu-aximu5:/mnt/c/Users/matt/conemu-max us5/conemu:/mnt/c/Python37/脚本:/mnt/c/Python37:/mnt/c/Pro克文件(x86)/英特尔/英特尔(R)管理引擎组件/iCLS:/mnt/c/程序文件/Inter/Intel(R)管理引擎组件/iCLS:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v.0:/mnt/c/c/Program文件(x86)/英特尔/英特尔(R)管理引擎组件/DAL:/mnt/c/程序文件/Inter/Intel(R)管理引擎组件/DAL:/mnt/c/程序文件(x86)/Inter/Intel(R)管理引擎组件/IPT:/mnt/c/程序文件/Inter/Intel(R)管理发动机部件/IPT:/mnt/c/Program文件/Inter/WiFi/bin:/mnt/c/Program Files/Common文件/Inter/WirelessCommon:/mnt/c/Program Files(x86)/NVIDIACorporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program文件/Git/cmd:/mnt/c/Program文件/LLVM/bin:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/c/WindowsSystem32/WindowsPowerShell/v.0.0:/mnt/c\Windows/System32_/OpenSSH:/mnt/c/Program文件/nodjs:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Locat/Programs/MicrosoftVS代码/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin:/mnt/c/Program文件/Oracle/VirtualBox','PS1':'(env3.6)\[\e]0;\u@\h:\w\a\]${debian_chroot:+($debian_chloot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033/01;34m\]\w\[\033[200m\]\$','VAGRANT_HOME':'/HOME/matt/.farrant.d/','LESSOPEN':'|/usr/bin/lisspipe%s','_':"/home/matt/reso/cython-blis/env3.6/bin/python"}clang-c c:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\blis_src\config\polder\bli_cntx_init_bulldozer.c-o C:\Users\srpx3\AppData\Local\Temp\tmpnva1c606\bli_cntx_init_bulldozer。o-O2-播放所有循环-std=c99-D_POSIX_C_SOURCE=200112L-DBLIS_VERSION_STRING="0.5.0-6"-DBLIS_IS_BUILDING_BRARY-I包含\windows-x8_64-I。\帧\3\-I。\帧\ind\ukernels\-I。\框架\1m\-I。\第1帧。\第1帧。\frame\include-IC:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\blis_src\include\windows-x86_64----------------------------------------错误:命令出错,退出状态为1:"c:\users\srpx3\appdata\local\programs\python\python38\python.exe"-u-c'导入sys、setuptools、tokenize;sys.argv[0]='"'"'C:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\setup.py'"';文件='"'"'C:\Users\srpx3\AppData\Local\Temp\pip-install-y1sv2rk2\blis\setup.py'"'";f=getattr(标记化,'"'"'打开'"',打开)(文件);code=f.read().replace('"'"'\r\n'""','"'"'\n'"');f.关闭();exec(compile(code,文件,'"'"'exec'"')')安装--记录'C:\Users\srpx3\AppData\Local\Temp\pip-record-e10f22k2\install record.txt'--单一版本外部管理--前缀"C:\Users\srpx3\AppData\Local\Temp\pip-build-env-h_upx5_5\overlay"--compile--安装标头"C:\Users\srpx3\AppData\Local\Temp\pip-build-env-h_upx5_5\overlay\Include\blis"检查日志以获取完整的命令输出
---------------------------------------错误:命令出错,退出状态为1:'c:\users\srpx3\appdata\local\programs\python\python38\python.exe''c:\users\srpx3\appdata\local\programs\python38\lib\site packages\pip'install--忽略已安装--无用户--前缀'C:\Users\srpx3\AppData\Local\Temp\pip-build-env-h_upx5_5\overlay'--无警告脚本位置--no binary:none:--only binary:none:-ihttps://pypi.org/simple--setuptools的轮子>0.32.0,<0.33.0'Cython'cymem>=2.0.2,<2.1.0"预设>=2.0.1,<2.1.0’'murmurhash>=0.28.0,<1.1.0英寸厚度>=7.08,<7.1.0'检查日志完整的命令输出。
不要用pip安装chatterbot,而是尝试pip安装sugaroid chatterbot。