Skip to content

Commit

Permalink
DOC: added install instructions for python 2.7 (Mac)
Browse files Browse the repository at this point in the history
  • Loading branch information
asherp committed Nov 4, 2019
1 parent 479839f commit 256e6f2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Expand Up @@ -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 .)
```

0 comments on commit 256e6f2

Please sign in to comment.