.. _api_installing:
Getting Started with SimPEG
***************************
Dependencies
============
- Python 2.7
- NumPy 1.8 (or greater)
- SciPy 0.13 (or greater)
- matplotlib 1.3 (or greater)
- Cython 0.20 (or greater)
Installing Python
=================
Python is available on all major operating systems, but if you are getting started with python
it is best to use a package manager such as
`Continuum Anaconda `_ or
`Enthought Canopy `_.
You can download the package manager and use it to install the dependencies above.
Installing SimPEG
=================
SimPEG is on pip!!::
pip install SimPEG
Installing from Source
----------------------
First (you need git)::
git clone https://github.com/simpeg/simpeg
Second (from the root of the simpeg repository)::
python setup.py install
Useful Links
============
An enormous amount of information (including tutorials and examples) can be found on the official websites of the packages
* `Python Website `_
* `Numpy Website `_
* `SciPy Website `_
* `Matplotlib `_
Python for scientific computing
-------------------------------
* `Python for Scientists `_ Links to commonly used packages, Matlab to Python comparison
* `Python Wiki `_ Lists packages and resources for scientific computing in Python
Numpy and Matlab
----------------
* `NumPy for Matlab Users `_
* `Python vs Matlab `_
Lessons in Python
-----------------
* `Software Carpentry `_
* `Introduction to NumPy and Matplotlib `_
Editing Python
--------------
There are numerous ways to edit and test Python (see `PythonWiki `_ for an overview) and in our group at least the following options are being used:
* `Sublime `_
* `iPython Notebook `_
* `iPython `_
* `Enthought Canopy `_