【发布时间】:2022-01-06 15:17:21
【问题描述】:
我对以下问题的正确补救措施感到困惑:
从一个原始的 pipenv 开始(没有 Pipfile 或 Pipfile.lock):
$ py -m pipenv --python 3
Successfully created virtual environment!
Created a Pipfile for this project...
$ py -m pipenv install jupyterlab
Installation Succeeded
Resolving dependencies...
[ ] Locking Failed!
...
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: Disabling PEP 517 processing is invalid: project does not have a setup.py
由于这是全新安装,有哪些依赖项无法解决?
我接受了建议尝试pipenv install --skip-lock,然后是pipenv graph,但在(巨大的)图表中没有看到任何明显的问题。还是真正的问题是缺少setup.py?
无论如何,正确的补救措施是什么?
【问题讨论】:
标签: python-3.x pipenv