ISI-MIP / attrici

Produce counterfactual climates for ISIMIP.
GNU General Public License v3.0
9 stars 2 forks source link

Difficulties setting up conda environment #88

Open SimonTreu opened 1 year ago

SimonTreu commented 1 year ago

I followed the steps in the README.md to install the conda environment. It always got stuck with the message "failed with initial frozen solve. Retrying with flexible solve" when running conda install netCDF4 pytables matplotlib arviz Maybe specific version numbers need to be specified? It might also be better to provide an environment.yml file

SimonTreu commented 1 year ago

I retried to install the environment with conda create -n attrici python=3.7 pymc3=3.7 Note that I used = instead of ==

This did not solve the issue

Then I tried to install the packages one by one.

SimonTreu commented 1 year ago

The arviz package is not used anymore. I removed it from my env

SimonTreu commented 1 year ago

There is an environment.yml in conf/environment.yml When we have a minimal working environment we should update this in the master branch

A-Buch commented 1 year ago

At least for the latest ubuntu version on WSL2 the easiest way is to install via the config/environment.yml

ToDo

SimonTreu commented 1 year ago

@AnnaBooki did you get the code running on the pik cluster?

A-Buch commented 1 year ago

I also used the yml file to set up the conda env on the cluster