From 256e6f28f09906807ed03be73ab601d85c7b2be5 Mon Sep 17 00:00:00 2001 From: asherp Date: Mon, 4 Nov 2019 14:08:59 -0600 Subject: [PATCH] DOC: added install instructions for python 2.7 (Mac) --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 2449d1d..9b9e19c 100644 --- a/README.md +++ b/README.md @@ -89,3 +89,25 @@ Put the following in the file before saving and closing it. python setup.py install This should compile and install the package to your site-packages for the python you are using. 15. You should now be able to import pysatCDF in your Python environment. If you get an ImportError, restart Python and import again. + +# Installing PysatCDF for python 2.7 (Mac OS) + +The following has been tested on `10.13.6` and should work on `10.12.6`. + +We recommend the gcc compiler suite from anaconda. To set up a conda environment suitable for installation: + +```console +conda create -n pysatCDF python=2.7 +conda install -c anaconda gcc +conda install -c anaconda numpy +pip install pysat (or setup.py after cloning pysat) +``` + +Install from the repo + +```console +git clone https://github.com/pysat/pysatCDF.git +cd pysatCDF +python setup.py install (or pip install .) +``` +