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 taking forever (approximately) to solve environment #2

Open
furnstahl opened this issue Jan 11, 2024 · 0 comments
Open

conda taking forever (approximately) to solve environment #2

furnstahl opened this issue Jan 11, 2024 · 0 comments

Comments

@furnstahl
Copy link
Collaborator

furnstahl commented Jan 11, 2024

If you have tried to create the 8820-env environment from the environment.yml file after installing Anaconda and using the Anaconda Navigator and it never got past the "solving environment" stage, it is likely the problem is an outdated version of conda (which is the program name of the package manager itself). The newest version uses a much better (approximately infinitely better) algorithm to solve the environment.

After installing Anaconda on a Windows 11 machine, I started up Anaconda Navigator, went to Environments and selected "base(root)". After clicking the right arrow I selected "Open Terminal". From there I navigated to the folder with the environment.yml file (e.g., after following the "Using GitHub" instructions). When I ran conda list conda, I see that the conda version is 23.7.4. You want 23.11.0.

So update conda with:
conda update conda
This will actually download and update many packages. (It is still using the slow conda, so it will take a little time, but not too much.) When it is complete, run:
conda env create
With the new conda it only took a couple of minutes (on a Windows 11 machine, your mileage may vary) to solve the environment for me and then the rest was also fairly quick.

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