Python &引用;验证事务:失败";更新anaconda表单anaconda提示符时出错
我一直在更新anaconda表单“anaconda Prompt”,我遇到以下错误我无法解决此错误,有人能帮我解决吗Python &引用;验证事务:失败";更新anaconda表单anaconda提示符时出错,python,anaconda,spyder,anaconda3,anaconda-cluster,Python,Anaconda,Spyder,Anaconda3,Anaconda Cluster,我一直在更新anaconda表单“anaconda Prompt”,我遇到以下错误我无法解决此错误,有人能帮我解决吗 Downloading and Extracting Packages libxslt-1.1.33 | 499 KB | #################################### | 100% libtiff-4.1.0 | 997 KB | #################################### | 10
Downloading and Extracting Packages
libxslt-1.1.33 | 499 KB | #################################### | 100%
libtiff-4.1.0 | 997 KB | #################################### | 100%
sqlite-3.31.1 | 961 KB | #################################### | 100%
krb5-1.17.1 | 846 KB | #################################### | 100%
libxml2-2.9.9 | 3.5 MB | #################################### | 100%
bzip2-1.0.8 | 150 KB | #################################### | 100%
blosc-1.16.3 | 162 KB | #################################### | 100%
libpng-1.6.37 | 598 KB | #################################### | 100%
mkl-2020.0 | 156.1 MB | #################################### | 100%
libcurl-7.68.0 | 284 KB | #################################### | 100%
intel-openmp-2020.0 | 1.9 MB | #################################### | 100%
libssh2-1.8.2 | 186 KB | #################################### | 100%
Preparing transaction: done
Verifying transaction: failed
RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.
我一直在Windows7上使用anaconda,64位。尝试了多种方法后,我无法解决该问题。最后,我卸载了anaconda,从anacondas网站下载了最新版本并重新安装。但是,现在我还必须重新安装所有软件包。此错误是关于您无法在conda env中更新setuptools,因此您应该首先将conda依赖项更新为fllow“conda update--update deps conda”。这对我有效。您运行了什么命令?这就是全部输出/错误吗?@AMC我使用了“conda update--all”。这不是全部输出。执行命令后,我收到了要更新的包列表,并被要求继续,“继续([y]/n)?”。输入“y”后的输出如上所示。