Broken references in Virtualenvs

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

    I am sure I am late to the party but I want to say that the resolution of this problem is much simpler than discussed here.

    You can easily regenerate the virtual environment without having to delete/edit anything. Assuming that your broken environment is called env_to_fix you can just to the following:

    mkvirtualenv env_to_fix
    

    This will regenerate the links and fix the environment without the need to dump the current status somewhere and restore it.

提交回复
热议问题