Skip to main content

Setup Python

The Bayes Server API can be called from Python.

The python examples in the code center make use of the JPype package which allows Java libraries to be used from within Python

Install Java (Bayes Server 10 requires Java 8 or later)

pip install jpype1

- Please note that jpype version 1.2.1 or later is required


You can also use the pythonnet Python package which allows .NET libraries to be used from within Python, or an alternative to JPype such as pyjnius.