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

Installation on conda not working properly #286

Closed
generein opened this issue Jan 7, 2023 · 3 comments
Closed

Installation on conda not working properly #286

generein opened this issue Jan 7, 2023 · 3 comments

Comments

@generein
Copy link
Contributor

generein commented Jan 7, 2023

The proposed installation for conda in the documentation is not working - it is unable to resolve the environment for 0.8.x. Without specifying the paramak version, conda installs version 0.7.0. But then the execution (import) runs into the issue described here.

@shimwell
Copy link
Member

shimwell commented Jan 8, 2023

Thanks for letting me know.

Yes version 0.7.0 was released about the same time as that cq issue you linked to so I guess inherits that bug.

The proposed installation in the docs suggests pinning the version to 0.8.2 (there are also newer versions like 0.8.7 one could try)

conda create --name paramak_env python=3.8
conda activate paramak_env
conda install -c fusion-energy -c cadquery -c conda-forge paramak=0.8.2

I think we should figure out why the pinned version for 0.8.2 does not resolve on your computer.

First things to check, are you installing into a new empty environment and activating that environment?

@generein
Copy link
Contributor Author

generein commented Jan 8, 2023

Yes, I started again from a new environment:

(base) $ conda create --name paramak_env python=3.8

(output snip, all packages installed)

(base) $ conda activate paramak_env
(paramak_env) $ conda install -c fusion-energy -c cadquery -c conda-forge paramak=0.8.2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: - Killed

@generein
Copy link
Contributor Author

generein commented Jan 8, 2023

Figured it out: the process needs more RAM, probably 4-5 GB, in order to complete the flexible solve for v0.8.2 conda install.

@generein generein closed this as completed Jan 8, 2023
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

2 participants