Install Guide¶
Anaconda install¶
The easiest way to install ProxImaL and its dependencies is using Anaconda. To install ProxImaL without Anaconda, see the section on installation from source.
Install Anaconda. On Linux and Mac OS X, install all Python dependencies by running
conda install numpy scipy pil pip opencv
On Windows, install all Python dependencies by running
conda install numpy scipy pil pip conda install -c https://conda.binstar.org/menpo opencv
(Optional) Install Halide and define the
HALIDE_PATH
environment variable to point to the installation. Also, add the Halide binary to yourLD_LIBRARY_PATH
for Linux orDYLD_LIBRARY_PATH
for Mac OS X.Install
proximal
withpip
from the command-line.pip install proximal
(Optional) Test the installation with
nose
. The tests require that you have CVXPY installed.
conda install nose nosetests proximal
Install from source¶
ProxImaL has the following dependencies:
- Python 2.7
- setuptools >= 1.4
- NumPy >= 1.10
- SciPy >= 0.15
- PIL
- cv2
Halide installation is optional, but necessary for the best performance. To test the ProxImaL installation, you additionally need Nose and CVXPY.
Once you’ve installed the dependencies, installing ProxImaL from source is simple:
Clone the ProxImaL git repository.
Navigate to the top-level of the cloned directory and run
python setup.py install