Skip to content

Commit 256e6f2

Browse files
committed
DOC: added install instructions for python 2.7 (Mac)
1 parent 479839f commit 256e6f2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,25 @@ Put the following in the file before saving and closing it.
8989
python setup.py install
9090
This should compile and install the package to your site-packages for the python you are using.
9191
15. You should now be able to import pysatCDF in your Python environment. If you get an ImportError, restart Python and import again.
92+
93+
# Installing PysatCDF for python 2.7 (Mac OS)
94+
95+
The following has been tested on `10.13.6` and should work on `10.12.6`.
96+
97+
We recommend the gcc compiler suite from anaconda. To set up a conda environment suitable for installation:
98+
99+
```console
100+
conda create -n pysatCDF python=2.7
101+
conda install -c anaconda gcc
102+
conda install -c anaconda numpy
103+
pip install pysat (or setup.py after cloning pysat)
104+
```
105+
106+
Install from the repo
107+
108+
```console
109+
git clone https://github.com/pysat/pysatCDF.git
110+
cd pysatCDF
111+
python setup.py install (or pip install .)
112+
```
113+

0 commit comments

Comments
 (0)