Installation

Supported Platforms

Python 2.7, 3.3, 3.4, 3.5 and 3.6 are supported. Both CPython (the standard Python implementation) and PyPy are supported and tested.

Linux, OSX, and Windows are supported.

Installation through pip

pip is the recommended tool for installing packages. It will handle installing all Python dependencies for the extension at the same time as the driver itself. To install the extension from pypi:

pip install dse-graph

This will also pull down the core driver from pypi. To avoid building Cython extensions in the core driver, use the environment variable switch:

CASS_DRIVER_NO_CYTHON=1 pip install dse-graph

For more information on core driver optional dependencies, see the installation guide.

Verifying your Installation

To check if the installation was successful, you can run:

python -c 'import dse_graph; print dse_graph.__version__'

It should print something like “1.0.0”.