我尝试使用以下命令更新conda:
~$ conda update conda它输出以下信息:
WARNING conda.base.context:use_only_tar_bz2(632): Conda is constrained to only
using the old .tar.bz2 file format because you have conda-build installed,
and it is <3.18.3. Update or remove conda-build to get smaller downloads
and faster extractions.
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/linux-64::cytoolz==0.9.0.1=py37h14c3975_1
- and around 100 more
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()我也试过
~$ conda update --all但它给了我和以前一样的错误。
发布于 2019-07-07 01:49:24
关于这件事,我找到了一个没有很好解释的解决办法,但解决了这个问题:
首先:使用以下命令:
~$ conda install anaconda 这解决了环境不一致的问题。
第二:使用以下命令:
~$ conda update conda该命令将在没有问题的情况下执行,conda将很可能被更新。
发布于 2019-10-10 18:08:07
我也犯了同样的错误,我使用了miniconda,所以我不想安装anaconda。我成功地将python从3.6更新到3.7,如下所示:
$ conda install python=3.7当我这样做时,conda自动更新到最新版本。
发布于 2019-07-17 08:32:37
这些命令使我无法安装conda软件包,导致“setuptools”是conda的依赖项,不能从conda的操作环境中删除。
conda install tensorflow-gpu==1.9.0
pip install setuptools==38.6.0 然后我试试那些..。
conda update -f conda
conda install -f codna第二行帮助我解决问题。我正积极地寻找原因。
https://stackoverflow.com/questions/56918742
复制相似问题