Mac用brew更新完python2.7后无法找到虚拟环境

Mac下virtualenv遇到dyld: Library not loaded: @executable_path/../.Python Referenced ...问题的解决措施

find ~/.virtualenvs/my-virtual-env/ -type l -delete
virtualenv ~/.virtualenvs/my-virtual-env



#my-virtual-env为你虚拟环境的名称


find ~/.virtualenvs/my-virtual-env/ -type l#检查会被删掉的链接

 

 

Reference:

https://stackoverflow.com/questions/23233252/broken-references-in-virtualenvs

posted @ 2019-03-20 08:29  X小白的逆袭之旅  阅读(813)  评论(1编辑  收藏  举报