Open truth-quark opened 7 months ago
Minor changes:
cd <your-amami-project-dir>
before the pip install
command as you need to be in the project folder if you specify the installed path as .
;-V
flag to print out the amami
version installed.For reference, these 2 links provided hints for the fix:
I think for now the development should be carried out with Python version 3.9.17 (the one I am using for the development) for consistency. So maybe it is better to specify that when you create the python environment:
conda create -n amami-env python=3.9.17
And I don't think cf-units
has any issues with python 3.9.
I think for now the development should be carried out with Python version 3.9.17 (the one I am using for the development) for consistency. So maybe it is better to specify that when you create the python environment:
conda create -n amami-env python=3.9.17
I think we should target running against the major active versions of Python. There's currently 5 versions: https://devguide.python.org/versions/. This gets into a separate issue of CI/CD & using GitHub actions to run tests against multiple python versions.
And I don't think
cf-units
has any issues with python 3.9.
cf-units
has hard coded paths which caused build breakages on MacOS (for headers, objs etc). The env variable fix solved it, so worth documenting for others :-)
Ok makes sense
This issue details a development install of
amami
on MacOS. Add this to the README...homebrew
(ANU devices: useself service
application or see https://brew.sh/)miniconda
: https://docs.anaconda.com/free/miniconda/amami
in your projects dirAssuming
homebrew
has been installed in/opt/homebrew
, some default paths need to be fixed to allow a MacOS install. in a fresh terminal:Hopefully this completes without errors & prints the
amami
version.