我正在跑步:
pip install --editable .
并获得以下信息:
Obtaining file:///content/nlp_tokenization_project
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpkhbslig1 Check the logs for full command output.
我确保我有车轮套件:
Requirement already satisfied: wheel in /usr/local/lib/python3.6/dist-packages (0.35.1)
我怎样才能解决这个问题
当我尝试将本地包安装到项目的虚拟环境中时,我遇到了相同的问题:
解决方案是简单地拆下有问题的pep517车轮:
在再次运行
pip install -e .
之后,构建需求会自动获得,一切都很顺利相关问题 更多 >
编程相关推荐