pkg_resources.DistributionNotFound: The 'pipenv==2018.10.13' distribution was not found and is required by the application

前端 未结 2 1307
长发绾君心
长发绾君心 2021-02-01 02:41

I\'ve reinstalled pip and pipenv due to some broken package with ansible. Now, it seems like my pip dependencies are all screwed. Any suggestion or help is greatly appreciated.

2条回答
  •  抹茶落季
    2021-02-01 03:10

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

    • If the installation was done using pip, then:

      pip uninstall pipenv
      pip install pipenv
      
    • If you are using brew, then you must run the commands exposed by Andrei

      brew uninstall pipenv
      brew install pipenv
      

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

    From the comments, alternatively use:

    brew reinstall pipenv
    

提交回复
热议问题