最近,当尝试在3种不同的计算机上更新我的conda软件包时,我一直看到非常奇怪的行为:Windows 7,Windows 10和Mac OSX。我的Windows 10环境变得如此损坏,我不得不删除整个内容并重新安装。
今天,我尝试更新Windows 7计算机。我做了“ conda update --all”。它抱怨有些软件包不一致(对此无所适从),列出了一堆更新,然后我安装了这些更新。我再次重新运行更新,出现了相同的不一致之处,并且可更新软件包的列表小得多。我键入“ y”以安装它们并失败。这是整个屏幕文字:
c:\Users\username\Documents\Projects>conda update --all
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/win-64::astropy==3.0.5=py36he774522_0
- defaults/win-64::bkcharts==0.2=py36h7e685f7_0
- defaults/win-64::blaze==0.11.3=py36_0
- defaults/win-64::bokeh==1.0.1=py36_0
- defaults/win-64::bottleneck==1.2.1=py36h452e1ab_1
- defaults/win-64::dask==0.20.0=py36_0
- defaults/win-64::datashape==0.5.4=py36_1
- defaults/win-64::h5py==2.8.0=py36h3bdd7fb_2
- defaults/win-64::imageio==2.4.1=py36_0
- defaults/win-64::matplotlib==3.0.1=py36hc8f65d3_0
- defaults/win-64::mkl-service==1.1.2=py36hb217b18_5
- defaults/win-64::mkl_fft==1.0.6=py36hdbbee80_0
- defaults/win-64::mkl_random==1.0.1=py36h77b88f5_1
- defaults/win-64::numba==0.40.0=py36hf9181ef_0
- defaults/win-64::numexpr==2.6.8=py36h9ef55f4_0
- defaults/win-64::numpy==1.15.3=py36ha559c80_0
- defaults/win-64::numpy-base==1.15.3=py36h8128ebf_0
- defaults/win-64::odo==0.5.1=py36h7560279_0
- defaults/win-64::pandas==0.23.4=py36h830ac7b_0
- defaults/win-64::patsy==0.5.1=py36_0
- defaults/win-64::pytables==3.4.4=py36he6f6034_0
- defaults/win-64::pytest-arraydiff==0.2=py36h39e3cac_0
- defaults/win-64::pytest-astropy==0.4.0=py36_0
- defaults/win-64::pytest-doctestplus==0.1.3=py36_0
- defaults/win-64::pywavelets==1.0.1=py36h8c2d366_0
- defaults/win-64::scikit-image==0.14.0=py36h6538335_1
- defaults/win-64::scikit-learn==0.20.0=py36heebcf9a_1
- defaults/win-64::scipy==1.1.0=py36h4f6bf74_1
- defaults/win-64::seaborn==0.9.0=py36_0
- defaults/win-64::statsmodels==0.9.0=py36h452e1ab_0
done
## Package Plan ##
environment location: C:\Users\username\Documents\MyTools\Anaconda
The following NEW packages will be INSTALLED:
dask-core pkgs/main/win-64::dask-core-0.20.0-py36_0
distributed pkgs/main/win-64::distributed-1.28.1-py36_0
hdf5 pkgs/main/win-64::hdf5-1.10.2-hac2f561_1
llvmlite pkgs/main/win-64::llvmlite-0.25.0-py36_0
mkl pkgs/main/win-64::mkl-2018.0.3-1
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
ERROR conda.core.link:_execute(637): An error occurred while installing package 'None'.
AssertionError()
Attempting to roll back.
Rolling back transaction: done
AssertionError()
()
不用说,我不知道该如何解决这个问题。我必须说,最近我对水蟒的稳定性有点担心。我曾经在安装和更新方面坚如磐石。现在,我永远不知道会发生什么。