gpt4 book ai didi

python - 错误: Failed building wheel for httptools

转载 作者:太空宇宙 更新时间:2023-11-03 20:23:12 27 4
gpt4 key购买 nike

while trying to install rasa nlu i am getting following error:

Building wheel for httptools (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'e:\anaconda\python.exe' -u -c 'import sys, setuptools,
tokenize; sys.argv[0] =
'"'"'C:\\Users\\sajjan\\AppData\\Local\\Temp\\pip-install-
s8m8v74o\\httptools\\setup.py'"'"';
__file__='"'"'C:\\Users\\sajjan\\AppData\\Local\\Temp\\pip-install-
s8m8v74o\\httptools\\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 'C:\Users\sajjan\AppData\Local\Temp\pip-wheel-ghmdzsv5' --
python-tag cp37
cwd: C:\Users\sajjan\AppData\Local\Temp\pip-install-
s8m8v74o\httptools\
Complete output (21 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\httptools
copying httptools\__init__.py -> build\lib.win-amd64-3.7\httptools
creating build\lib.win-amd64-3.7\httptools\parser
copying httptools\parser\errors.py -> build\lib.win-amd64-
3.7\httptools\parser
copying httptools\parser\__init__.py -> build\lib.win-amd64-
3.7\httptools\parser
running egg_info
writing httptools.egg-info\PKG-INFO
writing dependency_links to httptools.egg-info\dependency_links.txt
writing top-level names to httptools.egg-info\top_level.txt
reading manifest file 'httptools.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'httptools.egg-info\SOURCES.txt'
copying httptools\parser\parser.c -> build\lib.win-amd64-
3.7\httptools\parser
running build_ext
building 'httptools.parser.parser' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft
Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for httptools
Running setup.py clean for httptools
Failed to build httptools
Installing collected packages: httptools, sanic, colorclass, kafka-
python, async-generator, jmespath, botocore, s3transfer, boto3, sanic-
plugins-framework, sanic-cors, pydot, python-telegram-bot, python-
engineio, python-socketio, twilio, jsonpickle, fbmessenger,
terminaltables, docopt, pykwalify, humanfriendly, coloredlogs, python-
crfsuite, tabulate, sklearn-crfsuite, redis, fakeredis, tensorboard,
tensorflow-estimator, tensorflow, requests-toolbelt, webexteamssdk,
colorhash, ConfigArgParse, flask-cors, rasa-sdk, mattermostwrapper,
ruamel.yaml, pymongo, rocketchat-API, websocket-client, slackclient,
rasa, rasa-x
Running setup.py install for httptools ... error
ERROR: Command errored out with exit status 1:
command: 'e:\anaconda\python.exe' -u -c 'import sys, setuptools,
tokenize; sys.argv[0] =
'"'"'C:\\Users\\sajjan\\AppData\\Local\\Temp\\pip-install-
s8m8v74o\\httptools\\setup.py'"'"';
__file__='"'"'C:\\Users\\sajjan\\AppData\\Local\\Temp\\pip-install-
s8m8v74o\\httptools\\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\sajjan\AppData\Local\Temp\pip-record-
vut086we\install-record.txt' --single-version-externally-managed --
compile --user --prefix=
cwd: C:\Users\sajjan\AppData\Local\Temp\pip-install-
s8m8v74o\httptools\
Complete output (21 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\httptools
copying httptools\__init__.py -> build\lib.win-amd64-3.7\httptools
creating build\lib.win-amd64-3.7\httptools\parser
copying httptools\parser\errors.py -> build\lib.win-amd64-3.7\httptools\parser
copying httptools\parser\__init__.py -> build\lib.win-amd64-3.7\httptools\parser
running egg_info
writing httptools.egg-info\PKG-INFO
writing dependency_links to httptools.egg-info\dependency_links.txt
writing top-level names to httptools.egg-info\top_level.txt
reading manifest file 'httptools.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'httptools.egg-info\SOURCES.txt'
copying httptools\parser\parser.c -> build\lib.win-amd64-3.7\httptools\parser
running build_ext
building 'httptools.parser.parser' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------

错误:命令出错,退出状态为 1:'e:\anaconda\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\sajjan\AppData\Local\Temp\pip-install-s8m8v74o\httptools\setup.py'"'"'; 文件='"'"'C:\Users\sajjan\AppData\Local\Temp\pip-install-s8m8v74o\httptools\setup.py'"'"';f=getattr(tokenize, '"'"'打开'"'"', 打开)(文件);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, 文件, '"'"'exec'"'"'))' 安装--record 'C:\Users\sajjan\AppData\Local\Temp\pip-record- vut086we\install-record.txt'--单一版本-外部管理--编译-- user --prefix= 检查日志以获取完整的命令输出。

最佳答案

在 anaconda 提示符下尝试使用此命令,然后再次尝试安装 rasa。我想这会解决你的问题

conda install -c conda-forge httptools

关于python - 错误: Failed building wheel for httptools,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58028979/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com