使用 conda 来更新 conda,然后是 anaconda,似乎正在处理两种不同的 python 安装。因此似乎相互矛盾。例如:
My-MacBook-Pro:~ me$ conda update conda
Error: unknown host: http://repo.continuum.io/pkgs/pro/osx-64/
Package plan for installation in environment /Users/myname/anaconda:
The following packages will be UN-linked:
package | build
---------------------------|-----------------
python-2.7.5 | 3
readline-6.2 | 1
The following packages will be linked:
package | build
---------------------------|-----------------
python-2.7.6 | 1 hard-link
readline-6.2 | 2 hard-link
Proceed ([y]/n)? y
Unlinking packages ...
[ COMPLETE ] |##################################################| 100%
Linking packages ...
[ COMPLETE ] |##################################################| 100%
My-MacBook-Pro:~ me$ conda update anaconda
Package plan for installation in environment /Users/myname/anaconda:
The following packages will be UN-linked:
package | build
---------------------------|-----------------
python-2.7.6 | 1
readline-6.2 | 2
The following packages will be linked:
package | build
---------------------------|-----------------
python-2.7.5 | 3 hard-link
readline-6.2 | 1 hard-link
Proceed ([y]/n)? y
Unlinking packages ...
[ COMPLETE ] |##################################################| 100%
Linking packages ...
[ COMPLETE ] |##################################################| 100%
My-MacBook-Pro:~ me$ conda update conda
Package plan for installation in environment /Users/myname/anaconda:
The following packages will be UN-linked:
package | build
---------------------------|-----------------
python-2.7.5 | 3
readline-6.2 | 1
The following packages will be linked:
package | build
---------------------------|-----------------
python-2.7.6 | 1 hard-link
readline-6.2 | 2 hard-link
Proceed ([y]/n)?
关于如何处理这个问题的建议,目前在功能方面这不是一个大问题。