Closed nick-youngblut closed 1 year ago
Ouch. I wonder if this is caused by #2300
Btw as you have seen in the Troubleshooting guide it is not supported to use the default channels with conda-forge. But I guess that's unrelated.
Hmm, it seems that the subdir
is missing in this URL:
https://conda.anaconda.org/conda-forge/python-3.9.16-hea58f1e_0_cpython.conda
we saw similar issue which missed subdir in URL
[2023-08-27T06:59:40.615Z] error libmamba Failed to download package from https://conda.anaconda.org/conda-forge/ncurses-6.4-hcb278e6_0.conda (status 404)
[2023-08-27T06:59:40.615Z]
[2023-08-27T06:59:40.615Z] Looking for: ['cuml=23.08', 'python=3.9', 'cuda-version=11.5']
[2023-08-27T06:59:40.615Z]
[2023-08-27T06:59:40.615Z] Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/ncurses-6.4-hcb278e6_0.conda] 954 bytes
[2023-08-27T06:59:40.615Z]
[2023-08-27T06:59:40.615Z] # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
[2023-08-27T06:59:40.615Z]
[2023-08-27T06:59:40.615Z] Traceback (most recent call last):
[2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/conda/exception_handler.py", line 16, in __call__
[2023-08-27T06:59:40.615Z] return func(*args, **kwargs)
[2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 926, in exception_converter
[2023-08-27T06:59:40.615Z] raise e
[2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 919, in exception_converter
[2023-08-27T06:59:40.615Z] exit_code = _wrapped_main(*args, **kwargs)
[2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 877, in _wrapped_main
[2023-08-27T06:59:40.615Z] result = do_call(parsed_args, p)
[2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 748, in do_call
[2023-08-27T06:59:40.615Z] exit_code = install(args, parser, "install")
[2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 557, in install
[2023-08-27T06:59:40.615Z] transaction.fetch_extract_packages()
[2023-08-27T06:59:40.615Z] RuntimeError: Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/ncurses-6.4-hcb278e6_0.conda] 954 bytes
[2023-08-27T06:59:40.615Z]
[2023-08-27T06:59:40.615Z] `$ /root/miniconda3/bin/mamba install -y -c rapidsai -c conda-forge -c nvidia cuml=23.08 python=3.9 cuda-version=11.5`
and others
#0 467.2 error libmamba Failed to download package from https://conda.anaconda.org/conda-forge/dlpack-0.5-h9c3ff4c_0.tar.bz2 (status 404)
#0 467.4 Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/dlpack-0.5-h9c3ff4c_0.tar.bz2] 955 bytes
BTW our ENV are on mamba 1.4.9, conda 23.5.2
I cannot reproduce this locally. Can you try thrashing /Users/nickyoungblut/mambaforge/pkgs
?
@AntoinePrv now I cannot reproduce the error. Although the error was reproducible, I guess that that the 404 error was due to something beyond the setup on my machine.
we saw similar issue which missed subdir in URL
[2023-08-27T06:59:40.615Z] error libmamba Failed to download package from https://conda.anaconda.org/conda-forge/ncurses-6.4-hcb278e6_0.conda (status 404) [2023-08-27T06:59:40.615Z] [2023-08-27T06:59:40.615Z] Looking for: ['cuml=23.08', 'python=3.9', 'cuda-version=11.5'] [2023-08-27T06:59:40.615Z] [2023-08-27T06:59:40.615Z] Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/ncurses-6.4-hcb278e6_0.conda] 954 bytes [2023-08-27T06:59:40.615Z] [2023-08-27T06:59:40.615Z] # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< [2023-08-27T06:59:40.615Z] [2023-08-27T06:59:40.615Z] Traceback (most recent call last): [2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/conda/exception_handler.py", line 16, in __call__ [2023-08-27T06:59:40.615Z] return func(*args, **kwargs) [2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 926, in exception_converter [2023-08-27T06:59:40.615Z] raise e [2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 919, in exception_converter [2023-08-27T06:59:40.615Z] exit_code = _wrapped_main(*args, **kwargs) [2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 877, in _wrapped_main [2023-08-27T06:59:40.615Z] result = do_call(parsed_args, p) [2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 748, in do_call [2023-08-27T06:59:40.615Z] exit_code = install(args, parser, "install") [2023-08-27T06:59:40.615Z] File "/root/miniconda3/lib/python3.8/site-packages/mamba/mamba.py", line 557, in install [2023-08-27T06:59:40.615Z] transaction.fetch_extract_packages() [2023-08-27T06:59:40.615Z] RuntimeError: Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/ncurses-6.4-hcb278e6_0.conda] 954 bytes [2023-08-27T06:59:40.615Z] [2023-08-27T06:59:40.615Z] `$ /root/miniconda3/bin/mamba install -y -c rapidsai -c conda-forge -c nvidia cuml=23.08 python=3.9 cuda-version=11.5`
and others
#0 467.2 error libmamba Failed to download package from https://conda.anaconda.org/conda-forge/dlpack-0.5-h9c3ff4c_0.tar.bz2 (status 404) #0 467.4 Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/dlpack-0.5-h9c3ff4c_0.tar.bz2] 955 bytes
BTW our ENV are on mamba 1.4.9, conda 23.5.2
bump up mamba to 1.5.0 resolved our issue, seems there is some incompatible between the elder mamba version (1.4.9 in our case) vs newer conda (23.5.2).
bump up mamba to 1.5.0 resolved our issue, seems there is some incompatible between the elder mamba version (1.4.9 in our case) vs newer conda (23.5.2).
@pxLi updating mamba did not help for me:
$ mamba --version
mamba 1.5.1
conda 23.7.3
$ mamba create -n py39 python=3.9 pip
Looking for: ['python=3.9', 'pip']
conda-forge/osx-arm64 Using cache
conda-forge/noarch Using cache
bioconda/osx-arm64 Using cache
bioconda/noarch Using cache
pytorch/osx-arm64 Using cache
pytorch/noarch Using cache
pkgs/main/osx-arm64 Using cache
pkgs/main/noarch Using cache
pkgs/r/osx-arm64 Using cache
pkgs/r/noarch Using cache
warning libmamba Package tarball '/Users/nickyoungblut/mambaforge/pkgs/python-3.9.18-hfa1ae8a_0_cpython.conda' is invalid
Transaction
Prefix: /Users/nickyoungblut/mambaforge/envs/py39
Updating specs:
- python=3.9
- pip
Package Version Build Channel Size
────────────────────────────────────────────────────────────────────────────
Install:
────────────────────────────────────────────────────────────────────────────
+ libffi 3.4.2 h3422bc3_5 conda-forge Cached
+ libzlib 1.2.13 h53f4e23_5 conda-forge Cached
+ xz 5.2.6 h57fd34a_0 conda-forge Cached
+ ncurses 6.4 h7ea286d_0 conda-forge Cached
+ ca-certificates 2023.7.22 hf0a4a13_0 conda-forge Cached
+ bzip2 1.0.8 h3422bc3_4 conda-forge Cached
+ tk 8.6.12 he1e0b03_0 conda-forge Cached
+ libsqlite 3.43.0 hb31c410_0 conda-forge Cached
+ readline 8.2 h92ec313_1 conda-forge Cached
+ openssl 3.1.2 h53f4e23_0 conda-forge Cached
+ tzdata 2023c h71feb2d_0 conda-forge Cached
+ python 3.9.18 hfa1ae8a_0_cpython conda-forge 11MB
+ wheel 0.41.2 pyhd8ed1ab_0 conda-forge Cached
+ setuptools 68.1.2 pyhd8ed1ab_0 conda-forge Cached
+ pip 23.2.1 pyhd8ed1ab_0 conda-forge Cached
Summary:
Install: 15 packages
Total download: 11MB
────────────────────────────────────────────────────────────────────────────
Confirm changes: [Y/n]
[+] 0.0s
Downloading ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0 B / 11.1MB 0.0s
Extracting (4) ━━━╸━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━ 0 / 5 ncurses 0.0s
python 964.0 B @ 11.8kB/s 0.1s
Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/python-3.9.18-hfa1ae8a_0_cpython.conda] 964 bytes
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/Users/nickyoungblut/mambaforge/lib/python3.10/site-packages/conda/exception_handler.py", line 17, in __call__
return func(*args, **kwargs)
File "/Users/nickyoungblut/mambaforge/lib/python3.10/site-packages/mamba/mamba.py", line 945, in exception_converter
raise e
File "/Users/nickyoungblut/mambaforge/lib/python3.10/site-packages/mamba/mamba.py", line 938, in exception_converter
exit_code = _wrapped_main(*args, **kwargs)
File "/Users/nickyoungblut/mambaforge/lib/python3.10/site-packages/mamba/mamba.py", line 884, in _wrapped_main
result = do_call(parsed_args, p)
File "/Users/nickyoungblut/mambaforge/lib/python3.10/site-packages/mamba/mamba.py", line 760, in do_call
exit_code = create(args, parser)
File "/Users/nickyoungblut/mambaforge/lib/python3.10/site-packages/mamba/mamba.py", line 601, in create
return install(args, parser, "create")
File "/Users/nickyoungblut/mambaforge/lib/python3.10/site-packages/mamba/mamba.py", line 557, in install
transaction.fetch_extract_packages()
RuntimeError: Multi-download failed. Reason: Transfer finalized, status: 404 [https://conda.anaconda.org/conda-forge/python-3.9.18-hfa1ae8a_0_cpython.conda] 964 bytes
`$ /Users/nickyoungblut/mambaforge/bin/mamba create -n py39 python=3.9 pip`
I cannot reproduce this locally. Can you try thrashing /Users/nickyoungblut/mambaforge/pkgs?
@AntoinePrv that worked. Thanks!
Troubleshooting docs
How did you install Mamba?
Mambaforge
Search tried in issue tracker
Transfer finalized, status: 404; status: 404
Latest version of Mamba
Tried in Conda?
I have this problem with Conda as well, without using Mamba
Describe your issue
mamba fails (reproducibly) to create a simple python env:
...while conda creates the environment without issue:
mamba info / micromamba info
conda info: