Open zhihanyue opened 9 months ago
I got a dirty workaround. Modify follow line:
File "/home/zhyue/mambaforge/lib/python3.9/site-packages/mamba/utils.py", line 393, in compute_final_precs
raise ValueError("missing key {} in channels: {}".format(key, lookup_dict))
Change the raise
statement to continue or pass. Run you command again. Your python should be upgraded as expected.
P.S. You don't need to change it back. After successful upgrade, this file will no longer exist.
please use my ~/.condarc
show_channel_urls: true
always_yes: false
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
- conda-forge
channel_priority: disabled
mamba upgrade python -y
success!
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Mambaforge or latest Miniforge
Search tried in issue tracker
2593
Latest version of Mamba
Tried in Conda?
I didn't try
Describe your issue
mamba upgrade python=3.11 -c conda-forge
After that, I rolled back the mamba version from 1.5.6 to 1.2.0, and this upgrade was successfully completed. Maybe this is a bug introduced in newer versions.
mamba info / micromamba info
Logs
environment.yml
No response
~/.condarc