I mean to update conda.
Command
> conda update -n base -c defaults conda
got stuck a few times in Solving Environment
.
But a couple of times it worked.
I wouldn't know why failure was not systematic, I am certain it is not that I did not wait long enough.
At any rate, from the long list of packages needed for the update,
The following packages will be downloaded:
dal-2021.5.0 | haa95532_796 50.0 MB defaults
mkl-2021.4.0 | haa95532_640 181.6 MB defaults
plotly-5.9.0 | py39haa95532_0 9.1 MB defaults
The following NEW packages will be INSTALLED:
(179 packages)
The following packages will be REMOVED:
(37 packages)
The following packages will be UPDATED:
(195 packages)
The following packages will be DOWNGRADED:
(5 packages)
the 3 quoted here are not found, and thus the update fails, with one error like below for each of the 3 packages
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/plotly-5.9.0-py39haa95532_0.tar.bz2>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
Note that all other packages needed are not shown anymore in the list of packages will be downloaded
since they were already downloaded in the first failed attempt for the update.
Retrying leads always to the same result.
What I found working at least to move forward (some time ago, I didn't take note of the source) is:
Check the requested pkg_name/version_build, e.g.
dal
/2021.5.0_haa95532_796
.Download file from, e.g. https://anaconda.org/anaconda/dal/files?sort=downloads&version=2021.5.0, selecting the correct build. Replace in the URL the needed
pkg_name
/version
.Install locally with
> conda install dal-2021.5.0-haa95532_796.tar.bz2 mkl-2021.4.0-haa95532_640.tar.bz2 plotly-5.9.0-py39haa95532_0.tar.bz2
See Installing modules to Anaconda from .tar.gz
Continue the install / update with
> conda update -n base -c defaults conda
The update is still ongoing... but in the meantime,
Why would those specific packages not be found?
Is there any way to fix that from the installation command line, conda configuration, etc.?
Related