The easiest way to install the COPASI python bindings is via pip, just run:
pip install python-copasi
to get the latest version.
However, we also create standalone packages on our download page, that you can download. Once you downloaded
the binary package for the Python bindings you have to unpack it. It will be unpacked to a
directory called copasi_python. This directory contains the native library, a python file, a documentation file and
the license file. It also contains a directory called unittests with lots of unittests that can be used to check if
the bindings are working.
To run the unittests, you first have to set the PYTHONPATH environment variable to the directory where the
native library and the COPASI.py file are located. Once you changed into the unittests directory you find a
file called runTests.py which runs all the unittests in the directory.
Please note that under Microsoft Windows the language bindings require certain versions of the Microsoft runtime
libraries. If these are not installed, the bindings might not work. Please see the download page for the individual
language binding versions for the runtime requirements.