$ pipenv lock is used to create a Pipfile.lock, which declares all dependencies (and sub-dependencies) of your project, their latest available versions, and the current hashes for the downloaded files. This ensures repeatable, and most importantly deterministic, builds.
您的软件包正在安装,您的车轮正在制造中
也许更好的术语来描述这种状态应该是构建和锁定…'或类似的东西。在
如果您安装的是numpy、opencv、pandas或其他大型软件包,这种情况尤其可能发生。在
在后台发生的事情是
pipenv
正在下载您的包,并可能正在构建轮子。在在这种情况下,补救办法通常是很强的耐心。
什么是锁定?在
要了解pipenv上下文中的“锁定”是什么,可以在这里阅读更多内容:https://docs.pipenv.org/en/latest/basics/#pipenv-lock
然而,有时候,不是只是一个缓慢/大型的安装,而是您的
Pipfile[.lock]
的问题。如果您非常确定这是问题所在,请尝试pipenv lock clear
并重新运行pipenv install
命令,同时检查this thread以获取更多信息。在相关问题 更多 >
编程相关推荐