使用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)?
关于如何处理这个问题的建议,目前在功能方面并不是一个大问题。
答案 0 :(得分:3)
这是因为最新版本的Anaconda中的Python版本是2.7.5。当一个新版本的Anaconda发布时(本周应该会发生),这个问题就会消失。
anaconda
包是一组稳定的包版本,这些包已经相互测试过。因此,安装或更新anaconda可能会降级Python,因为这是Anaconda中的版本。