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

Conda [/Mamba] Installation Channel Priority Strict Error #9

Open
erfanshekarriz opened this issue Nov 29, 2023 · 0 comments
Open

Conda [/Mamba] Installation Channel Priority Strict Error #9

erfanshekarriz opened this issue Nov 29, 2023 · 0 comments

Comments

@erfanshekarriz
Copy link

erfanshekarriz commented Nov 29, 2023

Hello and hope all is well.

I wanted to report that the conda installation only works when setting channel priorities as flexible conda config --set channel_priority flexible, but does not work when set to strict.

This can be a huge future problem with reproducibility since the flexible mode can arbitrarily take any version of any software from the channels you've set (and you have around 6 set which is also lots to handle).

I found out about this problem when failing to install PhaBox on a second server without noticing that my original server was accidentally set to flexible mode while the new server was correctly set to strict.

I would highly recommend seeing if a conda recipe with strict channel priorities can be set as with flexible mode there is no guarantee of reproducibility [even for yourself] on different systems, which doesn't go well with the fact that conda recipes are usually made for reproducibility.

For anyone struggling with installations, I recommend running conda config --set channel_priority flexible and then back to conda config --set channel_priority strict upon installation.

I've attached a sample error file to see the conflicts it causes.
error.txt

Hope this helps.

Best,

Erfan

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