Broken references in Virtualenvs

前端 未结 26 1217
一整个雨季
一整个雨季 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:38

    The problem for me(a MacOS user) is that brew updated the Python and virtualenvs links to the old version which was deleted.

    We can check and fix it by

    >> ls -al ~/.virtualenvs//.Python
    .Python -> /usr/local/Cellar/python//Frameworks/Python.framework/Versions/3.7/Python
    >> rm ~/.virtualenvs//.Python
    >> ln -s  /usr/local/Cellar/python//Frameworks/Python.framework/Versions/3.7/Python ~/.virtualenvs//.Python
    

提交回复
热议问题