-
Notifications
You must be signed in to change notification settings - Fork 373
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
Latest mamba
version is not compatible with miniconda2
#640
Comments
Python 2 is very much deprecated. You can still create Python 2 environments, but your base environment has to be python3. Just do Going forward we are absolutely not going to support Python 2 in base with mamba. |
One way to "fix" this is to update the base environment to Python3:
Would that work for readthedocs? Sorry, I only saw after my reply that this is for readthedocs :) |
Is it absolutely impossible to switch to Miniconda 3? I could try to make Python 2.7 builds, but we also moved on to use pathlib and other Python 3 goodies in the source ... so I am not convinced that this would be trivial. |
Hi @wolfv! I assumed that latest versions of mamba were not compatible with Python2 because it's deprecated. However, I wanted to ask to be sure that my assumption was correct considering that conda still supports python2 but mamba doesn't.
I will give this a try. Would this first install
It is, and we are planning to do it at some point (see readthedocs/readthedocs-docker-images#86) but it's not super simple. That's why I was asking if there was already a way to do this.
I don't think it worth to put any effort on this. We should put the effort in our side to upgrade to miniconda3 if anything. |
Mamba 0.1.0 is the latest version that supports Python2 (which is our default in the conda environment --as we use miniconda2) while the current stable version is 0.7.6 Using the older version of mamba is causing different resolution issues and making the build to fail. Environment still can be created with python2 or python3 versions. See mamba-org/mamba#640 for more context.
thanks for fixing this in readthedocs! |
Hi! I'm trying to figure it out why I can't install latest
mamba
(0.7.6
) version when usingminiconda2
as base system, and instead0.1.0
is installed.Using
miniconda2
:Using
miniconda3
:Latest version of
mamba
is not compatible with py27 miniconda version?I'm trying to figure it out what's happening here because we want to start using mamba in Read the Docs and we currently have installed
miniconda2
. Installing version 0.1.0 is causingRuntimeError: Did not find key as expected
in different scenarios.The text was updated successfully, but these errors were encountered: