Installation¶
This page provides a guide to installing pyNEMO.
Dependencies¶
- Python 2.7 (Not tested with 3.x)
- scipy
- netCDF4-python
- numpy
- matplotlib
- basemap
- thredds_crawler
- seawater
- pyjnius (optional)
Anaconda¶
Using conda: pyNEMO supports Win64, OSX and Linux. for other operating systems please build from source.
Note
It is recommended to create a seperate virtual environment for pyNEMO. Please follow the instructions on doing this at http://www.continuum.io/blog/conda
conda install -c https://conda.anaconda.org/srikanthnagella pynemo
This will install pynemo and its dependencies. This build is generally outdated as development and bug fixes to the source are a regular occurrence. It may be better to install from source until a beta release is available.
From Source¶
Installing pyNEMO using other flavours of software or from source. Install all the dependencies and download the source code from svn and install.
svn checkout http://ccpforge.cse.rl.ac.uk/svn/pynemo/trunk/Python/
python setup.py install
Note
If building from source in the Anaconda environment all dependencies can be installed using conda apart from thredds_crawler and pyjnius which can be installed using the following Anaconda channel:
conda install -c https://conda.anaconda.org/srikanthnagella thredds_crawler
conda install -c https://conda.anaconda.org/srikanthnagella pyjnius