Skip to content
oleweidner edited this page Mar 25, 2013 · 36 revisions

.

ATTENTION: bliss is now saga-python. Please check out the new website for the latest releases and documentation!

#Installation#

SAGA Python has the following requirements

  • Python 2.5 or newer
  • Paramiko (installs with SAGA Python)
  • PyCrypto (installs with SAGA Python)

SAGA Python is available for download via PyPI and may be installed using easy_install or pip (preferred). Both automatically download and install all dependencies required by SAGA Python if they can't be found on your system:

pip install bliss

or with easy_install:

easy_install bliss

fatal error: Python.h: No such file or directory

If you see this error message during installation, you don't have the required Python header files installed. Please refer to Known Problems And Solutions for more details and how to solve this problem.

Local Installation

If you don't want to (or can't) install SAGA Python into your system's Python environment, there's a simple (and often preferred) way to create an alternative Python environment and installation location: virtualenv:

virtualenv --no-site-package $HOME/blissenv/
. $HOME/blissenv/bin/activate
pip install bliss   

My System Doesn't Come With virtualenv, pip or easy_install

There's a simple workaround for that using the 'instant' version of virtualenv. It also installs easy_install and pip:

curl --insecure -s https://raw.github.com/pypa/virtualenv/master/virtualenv.py | python - $HOME/blissenv
. $HOME/blissenv/bin/activate
pip install bliss   

Using the Latest Development Version

Warning: Please keep in mind that the latest development version of SAGA Python can be highly unstable or even completely broken. It's not recommended to use it in a production environment.

You can install the latest development version of SAGA Python directly from our Git repository using pip:

pip install -e git://github.com/saga-project/bliss.git#egg=bliss