mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.68k stars 346 forks source link

Can't install cuda-nvcc with CONDA_OVERRIDE_CUDA=11.4 #3221

Open benmoss opened 5 months ago

benmoss commented 5 months ago

Troubleshooting docs

Anaconda default channels

How did you install Mamba?

Mambaforge or latest Miniforge

Search tried in issue tracker

No host part in URL

Latest version of Mamba

Tried in Conda?

I do not have this problem with Conda, just with Mamba

Describe your issue

This command results in an exception from micromamba

$ export CONDA_OVERRIDE_CUDA=11.4
$ micromamba install cuda-nvcc -c conda-forge
...
> critical libmamba Failed to parse URL "@": No host part in the URL

This is in a linux/amd64 docker container, with micromamba 1.5.7

mamba info / micromamba info

libmamba version : 1.5.7
     micromamba version : 1.5.7
           curl version : libcurl/8.5.0 OpenSSL/3.2.1 zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0
     libarchive version : libarchive 3.7.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.5
       envs directories : /root/micromamba/envs
          package cache : /root/micromamba/pkgs
                          /root/.mamba/pkgs
            environment : /root/.conda/envs/cool (active)
           env location : /root/.conda/envs/cool
      user config files : /root/.mambarc
 populated config files :
       virtual packages : __unix=0=0
                          __linux=6.4.16=0
                          __glibc=2.35=0
                          __archspec=1=x86_64-v2
                          __cuda=11.4=0
               channels :
       base environment : /root/micromamba
               platform : linux-64

Logs

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Transaction

  Prefix: /root/.conda/envs/cool

  Updating specs:

   - cuda-nvcc

critical libmamba Failed to parse URL "@": No host part in the URL

environment.yml

No response

~/.condarc

No response

st-bender commented 4 days ago

Hi,

Any progress? I am seeing this error now when running

$ micromamba update --all

Cheers.