1.2. Getting started

1.2.1. Compatibility

qha is compatible with Python 3.6.x.

Our supported platforms are:

  • Linux x86 (32-bit and 64-bit)

  • Windows 7 and later (32-bit and 64-bit)

  • OS X 10.9 and later (64-bit)

  • NVIDIA GPUs of compute capability 2.0 and later

1.2.2. Dependencies

Notes:

1

For some systems, python-tkinter package is needed by matplotlib, otherwise the plot function will not work.

1.2.3. Installing the qha package

1.2.3.1. Installing using PyPI

qha can be installed via pip from PyPI.:

$ pip install qha

This will likely require the installation of a number of dependencies, including NumPy, will require a compiler to compile required bits of code, and can take a few minutes to complete.

1.2.3.2. Installing from source

Download the latest release , and go to the top-level directory, run:

$ pip install -e .

1.2.4. Checking your installation

You should be able to import Numba from the Python prompt:

$ python
Python 3.6.5 (default, Jun 18 2018, 22:40:57)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import qha
>>> qha.__version__
'1.0.12'