gpt4 book ai didi

python - 设置 rasa nlu 时 httptools 构建失败

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

克隆存储库:https://github.com/RasaHQ/rasa_nlu.git

$ pip install -r requirements.txt

Building wheel for httptools (setup.py) ... error ERROR: Complete output from command /Users/mohit/anaconda3/envs/condapy36/bin/python -u -c 'import setuptools, tokenize;file='"'"'/private/var/folders/9t/0qgpwgy906z_sww71dnkgkr80000gn/T/pip-install-7hmlhuo6/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 /private/var/folders/9t/0qgpwgy906z_sww71dnkgkr80000gn/T/pip-wheel-u02mzs5m --python-tag cp36: ERROR: running bdist_wheel

error: command 'gcc' failed with exit status 1
---------------------------------------- ERROR: Failed building wheel for httptools Running setup.py clean for httptools Building wheel for ujson (setup.py) ... error

$ pip install -e .

Obtaining file:///Users/mohit/work/research/NLP/Rasa/rasa_nlu ERROR: Error installing 'file:///Users/mohit/work/research/NLP/Rasa/rasa_nlu': editable mode is not supported for pyproject.toml-style projects. pip is processing this project as pyproject.toml-style because it has a pyproject.toml file. Since the project has a setup.py and the pyproject.toml has no "build-backend" key for the "build_system" value, you may pass --no-use-pep517 to opt out of pyproject.toml-style processing. See PEP 517 for details on pyproject.toml-style projects.

操作系统:Mac OS High Sierra

Python 3.6.8::Anaconda 自定义(64 位)

19.1 pip

最佳答案

这实际上是 pip ( https://github.com/pypa/pip/issues/6375 ) 中存在的问题。

请使用pip install --no-use-pep517 -e 进行安装。或将pip升级到最新版本。

关于python - 设置 rasa nlu 时 httptools 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55855529/

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