我正在使用conda安装一些包,系统提示:
==> WARNING: A newer version of conda exists. <==
current version: 4.7.10
latest version: 4.10.1
Please update conda by running
$ conda update -n base -c defaults conda
我的问题是,如何升级到特定版本而不是最新版本,例如conda版本4.9.2?
我正在使用conda安装一些包,系统提示:
==> WARNING: A newer version of conda exists. <==
current version: 4.7.10
latest version: 4.10.1
Please update conda by running
$ conda update -n base -c defaults conda
我的问题是,如何升级到特定版本而不是最新版本,例如conda版本4.9.2?
conda update conda
conda install anaconda=<<VersionNumber>>
希望这可以解决您的问题。更多信息请参阅Anaconda文档
conda update -n base -c defaults conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.10.3
latest version: 23.3.1
Please update conda by running
$ conda update -n base -c defaults conda
# All requested packages already installed.
(base) andrew@debianbuster:~$ conda update conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.10.3
latest version: 23.3.1
Please update conda by running
$ conda update -n base -c defaults conda
# All requested packages already installed.
(base) andrew@debianbuster:~$ conda install anaconda=23.3.1
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- anaconda=23.3.1
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
conda install conda=XX.X.X