我尝试更新我的scikit-image版本(从0.11.2升级到0.12.3),但失败并显示以下错误消息:
$ conda update scikit-image
Fetching package metadata .........
Solving package specifications: .
Package plan for installation in environment /Users/.../anaconda:
The following NEW packages will be INSTALLED:
cycler: 0.10.0-py27_0
mkl: 2017.0.1-0
singledispatch: 3.4.0.3-py27_0
The following packages will be UPDATED:
astropy: 1.0.1-np19py27_0 <unknown> --> 1.3-np111py27_0
bcolz: 0.8.1-np19py27_0 <unknown> --> 1.0.0-py27_0
blaze-core: 0.7.3-np19py27_0 <unknown> --> 0.9.0-py27_0
datashape: 0.4.4-np19py27_1 <unknown> --> 0.5.4-py27_0
dynd-python: 0.6.5-np19py27_0 <unknown> --> 0.7.2-py27_0
freetype: 2.5.2-0 <unknown> --> 2.5.2-2
h5py: 2.4.0-np19py27_0 <unknown> --> 2.6.0-np111py27_2
hdf5: 1.8.14-0 <unknown> --> 1.8.17-1
libpng: 1.5.13-1 <unknown> --> 1.6.17-0
llvmlite: 0.2.2-py27_1 <unknown> --> 0.16.0-py27_0
matplotlib: 1.4.3-np19py27_1 <unknown> --> 1.5.1-np111py27_0
nltk: 3.0.2-np19py27_0 <unknown> --> 3.2.2-py27_0
numba: 0.17.0-np19py27_0 <unknown> --> 0.31.0-np111py27_0
numexpr: 2.3.1-np19py27_0 <unknown> --> 2.6.2-np111py27_0
numpy: 1.9.2-py27_0 <unknown> --> 1.11.3-py27_0
odo: 0.3.1-np19py27_0 <unknown> --> 0.4.2-py27_0
pandas: 0.15.2-np19py27_1 <unknown> --> 0.19.2-np111py27_1
patsy: 0.3.0-np19py27_0 <unknown> --> 0.4.1-py27_0
pytables: 3.1.1-np19py27_2 <unknown> --> 3.3.0-np111py27_0
scikit-image: 0.11.2-np19py27_0 <unknown> --> 0.12.3-np111py27_1
scikit-learn: 0.15.2-np19py27_0 <unknown> --> 0.18.1-np111py27_1
scipy: 0.15.1-np19py27_0 <unknown> --> 0.19.0-np111py27_0
statsmodels: 0.6.1-np19py27_0 <unknown> --> 0.8.0-np111py27_0
The following packages will be SUPERCEDED by a higher-priority channel:
abstract-rendering: 0.5.1-np19py27_0 <unknown> --> 0.5.1-np111py27_0
blz: 0.6.2-np19py27_0 <unknown> --> removed-0
Proceed ([y]/n)? y
ERROR conda.core.link:_execute_actions(335): An error occurred while installing package 'defaults::scipy-0.19.0-np111py27_0'.
OSError(17, 'File exists')
Attempting to roll back.
OSError(17, 'File exists')
以下是一些版本细节:
conda 4.3.14
Python 2.7.12 :: Anaconda custom (x86_64)
MacOS 10.10.5
有人知道它失败的原因以及如何解决问题吗?
答案 0 :(得分:0)
可能有更好的解决方案,但我可以通过卸载Anaconda并获得全新安装来解决它