Installing SciDB-Py

Software prerequisites

The scidbpy package requires at least:

  1. An available SciDB installation
  2. The Shim network interface to SciDB

We assume an existing installation of SciDB is available. Binary SciDB packages (for Ubuntu 12.04 and RHEL/CentOS 6) and source code are available from The examples in this tutorial assume that SciDB is running on a computer with host name “localhost,” at port 8080. If SciDB is not running on localhost, adjust the name accordingly.

The scidbpy package requires installation of a simple HTTP network service called “shim” on the computer that SciDB coordinator is installed on. The network service only needs to be installed on the SciDB computer, not on client computers that connect to SciDB from Python. It’s available in packaged binary form for supported SciDB operating systems, and as source code which can be compiled and deployed on any SciDB installation. See for source code and installation instructions.

Python Prerequisites

SciDB-Py requires Python 2.6-2.7 or 3.3, as well as NumPy and Requests. Some (optional) functionality requires SciPy and Pandas. Following are a description of these requirements:

tested with version 1.9.
tested with version 2.7. Required for using the Shim interface to SciDB.
Pandas (optional)
tested with version 0.15. Required only for importing/exporting SciDB arrays as Pandas Dataframe objects.
SciPy (optional)
tested with versions 0.10-0.12. Required only for importing/exporting SciDB arrays as SciPy sparse matrices.

SciDB-Py Package Installation

The latest release of scidb-py can be installed from the Python package index:

pip install scidb-py

The development version can be found on github at Install the development package directly from Github with:

pip install git+

or download the code and type:

python install