Broken references in Virtualenvs

前端 未结 26 1272
一整个雨季
一整个雨季 2020-11-27 08:53

I recently installed a bunch of dotfiles on my Mac along with some other applications (I changed to iTerm instead of Terminal, and Sublime as my default text editor) but eve

26条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 09:28

    I was facing the same issue after upgrading brew on my OSX Catalina.

    After trying bunch of stuffs, I find the following is the best and easy solution.

    At first, delete the virtual env. (Optional)

    find myvirtualenv -type l -delete
    

    then recreate a new virtualenv

    virtualenv myvirtualenv
    

    Reference: https://www.jeremycade.com/python/osx/homebrew/2015/03/02/fixing-virtualenv-after-a-python-upgrade/

提交回复
热议问题