Stream: general

Topic: Adding f90nml to my environment


view this post on Zulip Jean-Francois Lamarque (May 06 2021 at 17:13):

I am trying to add f90nml to my environment using conda but am getting the following error message. Thoughts?

[lamar@crhtc45 ~/Python]$ conda install f90nml
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

- f90nml

Current channels:

- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

view this post on Zulip Brian Bonnlander (May 06 2021 at 17:16):

What happens when you add the option -c conda-forge?

view this post on Zulip Max Grover (May 06 2021 at 17:28):

What happens when you add the option -c conda-forge?

@Jean-Francois Lamarque Running the following should work

conda install -c conda-forge f90nml

view this post on Zulip Jean-Francois Lamarque (May 06 2021 at 17:37):

Works like a charm!! Thank you @Max Grover and @Brian Bonnlander

view this post on Zulip Daniel Marsh (May 06 2021 at 17:45):

Yes, that worked for me - see example ~/marsh/python/demo/read_atm_in.ipynb

view this post on Zulip Jean-Francois Lamarque (May 06 2021 at 17:47):

Path should be

~marsh/python/demo/read_atm_in.ipynb


Last updated: Jan 30 2022 at 12:01 UTC