且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

pkg_resources.DistributionNotFound:未找到“pipenv==2018.10.13"分发版,应用程序需要此分发版

更新时间:2023-11-17 21:41:52

我遇到了同样的问题.您应该使用您第一次使用的相同包管理器重新安装 pipenv.

I had the same problem. You should reinstall pipenv using the same package manager you used the first time.

  • 如果安装是使用 pip 完成的,则:

pip uninstall pipenv
pip install pipenv

  • 如果您使用的是 brew,那么您必须运行 Andrei 公开的命令一个>

  • If you are using brew, then you must run the commands exposed by Andrei

    brew uninstall pipenv
    brew install pipenv
    

  • 要检查 pipenv 安装是否成功完成,请运行:pipenv --version

    To check if pipenv installation was successfully completed, run: pipenv --version

    brew reinstall pipenv