-
Notifications
You must be signed in to change notification settings - Fork 99
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
Fix mamba installation #1298
Fix mamba installation #1298
Conversation
not exactly but close ;) someone implemented to use float comparison instead of version string comparison. It searches for python 3.1 not "3.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please send a PR to stable. but bugreport first, we like to document before.
I will later merge stable to development.
@@ -33,8 +33,9 @@ Installing `MSS` from the `conda-forge` channel can be achieved by adding `conda | |||
|
|||
Once the `conda-forge` channel has been enabled, `mss` can be installed with: | |||
|
|||
$ conda create -n mssenv mamba | |||
$ conda create -n mssenv python=3.9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove =3.9
seems there are more occurencies of this problem interpreting a version string as float number ;)
adding the python modul will release automatically the fixation and we will not need to adjust when we can use 3.10 again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and if "conda create -n mssenv mamba python" works we should do that
$ conda activate mssenv | ||
$ conda install mamba |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this depends but will not cause trouble if you are using mambaforge
Hi @ReimarBauer ,
Can you tell me which conda version are you using? Mine is 4.11.0. I think the error depends on the conda version. I also wanted to ask: Isn't it good to specify the Python version while creating the conda environment? Related: mamba-org/mamba#1245. I'll open the bug report issue and open the new PR once we come to a conclusion on the issue here. Is that alright? |
We should always start with an issue before fixing something. Because all discussions are now hidden in the PR after it is merged/closed and it is quite difficult to reread or search for this. When an issue gets added I could have labled it by 6.0.1 so it is clear that we want the fix in stable. We link issues in the releases so everyone can find the PR. A first issue could have been just the description of the problem. The PR afterwards brings the solution ;) |
I do also have the recent version and I tried the instructions from The version string is added on build time of the documentation. May be this can be done by an variable similiar in the README?
|
We do build MSS for many python versions https://anaconda.org/conda-forge/mss/files The fixation of the (most recent) python version is currently not mandatory for using MSS. Updating packages to a newer python version sometimes eats time. There can be an OS user which can't use a specified version of python because of some dependencies are not solved. We came to the solution to force the version of MSS and let the system solve based on the fixations in the meta.yaml what the user can get. |
Ah, got it. Thank you for explaining. |
Fixes mamba failing to install MSS.
While installing MSS, the following error appears:
This occurs because Mamba keeps python 3.10 unless explicitly mentioned, and currently we don't have a python 3.10 release.
Related: #613