`~/micromamba/envs/myenv/bin/python3.1` symlink generated for Python 3.11
basnijholt opened this issue · comments
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](https://private-user-images.githubusercontent.com/6897215/338299495-32b8d1bd-d0ed-4301-ac45-97cebb0bd0d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwMzc4MjAsIm5iZiI6MTcxOTAzNzUyMCwicGF0aCI6Ii82ODk3MjE1LzMzODI5OTQ5NS0zMmI4ZDFiZC1kMGVkLTQzMDEtYWM0NS05N2NlYmIwYmQwZDYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjJUMDYyNTIwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGJhYTRiNjNiYzNhZWQwOWE0NmVlNDFlMGJlODRkN2ZjMDk5NTMyOTU5ZTk5MThjZTZmN2MzYjZhZDAwY2U1NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.BzjxsEhmZOQsgHLl_iGHW9JZyclHCTfH2syIDy-J7Ao)
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: