小编Dan*_*e H的帖子

尝试安装时出现“获取构建轮子的要求...错误”--editable

我在跑步:

pip install --editable .
Run Code Online (Sandbox Code Playgroud)

并得到以下内容:

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.
Run Code Online (Sandbox Code Playgroud)

我确保我有轮子包:

Requirement already satisfied: wheel in /usr/local/lib/python3.6/dist-packages (0.35.1)
Run Code Online (Sandbox Code Playgroud)

我怎样才能解决这个问题?

python pip python-wheel

11
推荐指数
1
解决办法
7万
查看次数

标签 统计

pip ×1

python ×1

python-wheel ×1