usge:~ glab$ port select --list python
Available versions for python:
none (active)
python25-apple
python26-apple
python27
usge:~ glab$ sudo port select --set python python27
Selecting 'python27' for 'python' failed: symlink: /opt/local/etc/select/python/current -> python27: file already exists
usge:~ glab$ which python
/opt/local/bin/python
我想将python2.7设置为我的默认python,但由于上面的错误消息而失败。如何解决这个问题(我在MacOSX上使用macports)
我以前遇到过这个问题,但我想不起来这个问题是怎么发生的。我认为解决方案非常简单,只需删除错误中引用的符号链接,然后再次执行port select命令。你知道吗
相关问题 更多 >
编程相关推荐