wiki:AdvancedInstall

Version 1 (modified by flip, 4 years ago) (diff)

--

Advanced Install

These instructions for installing Vespa are for users who are comfortable using the command line and finding and installing Python packages.

Install Python

Vespa will work with any 64-bit Python 2.7. Some possible sources for Python are Python.org (of course!), Continuum Miniconda, Continuum Anaconda, or, if you're on Linux, the Python from your package manager.

Vespa's dependencies are listed in the file vespa/requirements.txt. If you're familiar with pip, please note that it's not possible to use this requirements file with pip's -r option because not all of Vespa's dependencies are pip-friendly.

Check Your Python

Download get_python_info.py and run it with this command --

python get_python_info.py 1

It will tell you whether or not Vespa is compatible with your Python.

Upgrade pip

Ensure you're running the latest version of pip. (Older versions of pip have trouble with some of the steps in this guide.)

python -m pip install --upgrade pip

Install Vespa's Easy Dependencies

These packages are easy to install with pip on all the platforms Vespa supports --

pip install packaging pydicom==0.9.9 pygamma hlsvdpro vespa-suite

Install Numpy, Scipy, and Matplotlib

Under OS X and Linux, you can install Numpy, Scipy, and matplotlib via pip (on OS X) and the package manager (on Linux).

On Windows, we suggest installing Numpy and Scipy from the wheels provided by Christoph Gohlke. Once Numpy and Scipy are installed, you can pip install matplotlib.

Install PyWavelets

Under Windows, you can install this with pip install pywavelets==0.3.0.

Under Linux, get it from your package manager.

Under OS X, use the PyWavelets 0.3.0 wheel that we provide.

Install wxPython

Under Linux, get wxPython 3 if your package manager offers it, or wxPython 2.8 otherwise. It might be under a name like 'python-wxgtk'.

Under Windows and OS X, install wxPython 3 from one of the packages provided on wxPython.org.

Install FFTW3 (Linux Only)

Linux users, use your package manager to install the FFTW3 runtime library. Look for it under a name like libfftw3 or just fftw.

Finish the Vespa Install

Run this command --

python -m vespa.check_dependencies

If that goes OK, run this command --

python -m vespa.create_shortcuts