Python - Installation

Installation of the Python binding #

Please read this introductory page before proceeding.

If you retrieve the examples from https://github.com/epeios-q37/atlas-python, you have nothing else to install.

If you want to start from scratch, there are two possibilities.

You can install install the atlastk package from PyPI ( Pypi package of the Atlas toolkit ) with, for example, following command: pip install atlastk.

Alternatively, you can download https://github.com/epeios-q37/atlas-python/raw/master/atlastk.zip and:

  • put, in your source file, before importing the atlastk module (import atlastk), the following line: __import__("sys").path.append("<path to>/atlastk.zip") (ex., if the atlastk.zip file is in the directory from which you launch your Python program: __import__("sys").path.append("./atlastk.zip"));
  • or add the downloaded file in the default search path for Python modules by updating the PYTHONPATH environment variable.