使用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)?关于如何处理这个问题的建议,目前还不是一个很大的问题,就功能而言。
发布于 2014-02-10 16:50:08
这是因为最新版本的Anaconda中的Python版本为2.7.5。当一个新版本的Anaconda发布(这应该发生在本周)时,这个问题就会消失。
anaconda包是一组稳定的版本包,它们之间已经进行了相互测试。因此,安装或更新Anaconda可能会降低Python的级别,因为这是anaconda中的版本。
https://stackoverflow.com/questions/21662309
复制相似问题