Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

~/micromamba/envs/myenv/bin/python3.1 symlink generated for Python 3.11 #3317

Open
3 tasks done
basnijholt opened this issue Jun 10, 2024 · 0 comments
Open
3 tasks done

Comments

@basnijholt
Copy link

basnijholt commented Jun 10, 2024

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Mambaforge or latest Miniforge

Search tried in issue tracker

alias, symlink

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

I didn't try

Describe your issue

When creating a new env:

❯ micromamba create -n test python=3.12

❯ l ~/micromamba/envs/test/bin/python3.1
lrwxr-xr-x@ 1 bas.nijholt  staff    10B Jun 10 11:19 /Users/bas.nijholt/micromamba/envs/test/bin/python3.1 -> python3.12

❯ micromamba --version
1.5.8

This results in VS Code being confused, e.g., see:

VS Code uses this alias to figure out which Python version is being used.

image

This problem occurs on at least MacOS and Ubuntu.

mamba info / micromamba info

❯ micromamba info

       libmamba version : 1.5.8
     micromamba version : 1.5.8
           curl version : libcurl/8.6.0 SecureTransport (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 : /Users/bas.nijholt/micromamba/envs
          package cache : /Users/bas.nijholt/micromamba/pkgs
                          /Users/bas.nijholt/.mamba/pkgs
            environment : None (not found)
           env location : -
      user config files : /Users/bas.nijholt/.mambarc
 populated config files : /Users/bas.nijholt/.mambarc
                          /Users/bas.nijholt/.condarc
       virtual packages : __unix=0=0
                          __osx=14.5=0
                          __archspec=1=arm64
               channels : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
       base environment : /Users/bas.nijholt/micromamba
               platform : osx-arm64

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant