Anaconda:conda更新所有冲突
Anaconda: conda update all conflict
当前conda
安装信息如下:
platform : osx-64
conda version : 4.1.5
conda-env version : 2.5.1
conda-build version : 0+unknown
python version : 2.7.12.final.0
requests version : 2.9.1
root environment : /Users/chintanshah/anaconda (writable)
default environment : /Users/chintanshah/anaconda
envs directories : /Users/chintanshah/anaconda/envs
package cache : /Users/chintanshah/anaconda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/osx-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/osx-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
offline mode : False
is foreign system : False
当我尝试 conda update --all
时,我收到以下消息:
Fetching package metadata .......
Solving package specifications: ....
The following specifications were found to be in conflict:
- bottleneck -> numpy 1.10*|1.11*|1.9*
- bottleneck -> python 3.4*|3.5*
- sockjs-tornado
Use "conda info <package>" to see the dependencies for each package.
看来我需要重新安装 Anaconda,但我不想把它搞砸。另外,我目前使用 ZSH
而不是 bash
。
解决此问题的最佳方法是什么?
编辑:
昨天,我安装了以下软件:
pip install Plotly
pip install keras
conda install opencv
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
不确定您是否还在寻找,这已经帮我解决了。
conda install -c conda-forge opencv
我尝试时遇到了同样的问题
$ conda install python=<new version>
我的解决方案是先卸载尽可能多的包,然后再次尝试上面的命令。
这里的理由是包之间的依赖关系非常复杂,以至于conda无法在如此大的更新中处理它们。拥有最少数量的包将使 conda 的生活更轻松。
当前conda
安装信息如下:
platform : osx-64
conda version : 4.1.5
conda-env version : 2.5.1
conda-build version : 0+unknown
python version : 2.7.12.final.0
requests version : 2.9.1
root environment : /Users/chintanshah/anaconda (writable)
default environment : /Users/chintanshah/anaconda
envs directories : /Users/chintanshah/anaconda/envs
package cache : /Users/chintanshah/anaconda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/osx-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/osx-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : None
offline mode : False
is foreign system : False
当我尝试 conda update --all
时,我收到以下消息:
Fetching package metadata .......
Solving package specifications: ....
The following specifications were found to be in conflict:
- bottleneck -> numpy 1.10*|1.11*|1.9*
- bottleneck -> python 3.4*|3.5*
- sockjs-tornado
Use "conda info <package>" to see the dependencies for each package.
看来我需要重新安装 Anaconda,但我不想把它搞砸。另外,我目前使用 ZSH
而不是 bash
。
解决此问题的最佳方法是什么?
编辑:
昨天,我安装了以下软件:
pip install Plotly
pip install keras
conda install opencv
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git
不确定您是否还在寻找,这已经帮我解决了。
conda install -c conda-forge opencv
我尝试时遇到了同样的问题
$ conda install python=<new version>
我的解决方案是先卸载尽可能多的包,然后再次尝试上面的命令。
这里的理由是包之间的依赖关系非常复杂,以至于conda无法在如此大的更新中处理它们。拥有最少数量的包将使 conda 的生活更轻松。