Skip to content

InstallDependencies

Simon Legrand edited this page Oct 21, 2015 · 1 revision

Install dependencies

Install python dependencies on Debian/Ubuntu

If your distribution is sufficiently recent, you can simply run :

sudo pip install numpy scipy matplotlib pyhull

Otherwise, on older Linux versions or systems where you are not root, you can install the missing dependences localy via homebrew/linuxbrew, which provides up-to-date versions of librairies. The webpage of linuxbrew provides more information and installation instructions. Once linuxbrew is installed and $PATH is set:

brew install python
sudo pip install numpy scipy matplotlib pyhull

Install python dependencies on OS X

Install last version of pip:

sudo easy_install -U pip

Install the dependencies:

sudo pip install numpy scipy matplotlib pyhull

As pip installs these libraries in /Library/Python/2.7/site-packages/, you have to add this path to $PYTHONPATH to prevent python from looking other/older versions in /System/.... To do so:

export PYTHONPATH='/Library/Python/2.7/site-packages/:$PYTHONPATH' >> ~/.bash_profile

To make this modification effective, relaunch your terminal.

Install MongeAmpere and PyMongeAmpere

First of all, you have to download MongeAmpere and PyMongeAmpere. Then follow the compilation instructions in the [PyMongeAmpere wiki] (https://github.com/mrgt/PyMongeAmpere/wiki)

Clone this wiki locally