如何修复循环链接?

时间:2017-04-30 22:22:43

标签: python virtualenv

更新 我试过了

ls -lrt `find ./ -follow -type l`

发现这些是我的循环链接:

lrwxr-xr-x  1 matthew  staff  9 Apr 30 18:01 .//eatLowCarbon/bin/python -> python2.7
lrwxr-xr-x  1 matthew   staff  6 Apr 30 18:03 .//eatLowCarbon/bin/python2.7 -> python
lrwxr-xr-x  1 matthew   staff  6 Apr 30 18:03 .//eatLowCarbon/bin/python2 -> python

我该怎么做才能删除它们?

我尝试安装virtualnev,但收到the same error to this post

我对installing virtualnev的命令:

pip install virtualenv
cd eatLowCarbon
virtualenv eatLowCarbon
source eatLowCarbon/bin/activate

然而,当我尝试安装html5lib时,我收到了这个错误:

/Users/matthew/eatLowCarbon/eatLowCarbon/bin/python2.7: bad interpreter: Too many levels of symbolic links

当我which python时,它会告诉我' / usr / local / bin / python`,根据我链接的SO,意味着virtualenv没有正确安装。

0 个答案:

没有答案