-
Notifications
You must be signed in to change notification settings - Fork 88
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 install takes a very long time #475
Comments
Could you try it with mamba? I find it resolves packages a lot more successfully. Also, you should try and stop the |
I already found a workaround by installing from pip:
Nodefaults was not faster either (I stopped after 5 minutes):
I just want to state, that the "Quickstart" instructions, weren't so quick at all ;) |
Ok, good to know RE nodefaults. Can you try with mamba? I would highly recommend it as your go-to instead of conda (and we will update our installation instructions accordingly). I also would recommend not mixing conda and pip packages where possible. It might work fine initially but then the environments can become very messy very quickly. |
Also, you could try forcing the python version to the highest calliope can be built with: |
I heard promising things about mamba, but it is not available as a .deb package, and I don't feel like installing it with sudo tee :D Setting the python version explicitly did not speed things up for me. How long does this command take on your computer? Maybe this could also be a problem which is only reproducible on Debian12? EDIT: i could install it after like 10 Minutes - so it has a deterministic end at least :D |
It takes less than a minute, but then I have most dependencies cached. It could be a Debian12 thing. I think @sjpfenninger had similar issues on a remote machine recently too, but don't know what distro he was using. If pip works for you then I would suggest continuing with that as your workaround, but would advise keeping your conda env python version to <=3.9 to ensure you don't accidentally trip up on issues that have led to us choosing this upper limit for now. |
I tried to install Calliope through this procedure, and it worked, as well as it worked through Mamba. Unfortunately, I encountered the same error when launching the Jupyter Notebook.
|
We can't diagnose what might be going wrong with Jupyter, but I'd try something like |
Magic! It worked, you were very kind. Thanks a lot! |
Problem description
Running
conda create -c conda-forge -n calliope calliope
does not finish somehow.Running on Debian 12 with
conda 23.7.4
with base python3.10.4
Calliope version
Does not resolve somehow - creating an env and installing with pip works though
The text was updated successfully, but these errors were encountered: