Skip to content

Python script interpreter

Jean-Michel DECORET edited this page Jan 19, 2016 · 1 revision

Description

Python script interpreter is needed by Yadoms to run automation rules written with Blockly or Python editors. Swig must be correctly setup before building Python script interpreter, see this page.

Windows

First download Python library. We use version 2.7.x. Download the installer. Next configure your sources\scriptInterpreters\Python\CMakeListsUserConfig.txt file to set PYTHON_ROOT.

Please note that using Python built from sources should be supported, but not tested. In this case, you will have to set USE_PKGCONFIG to ON in the same file.

Linux

Simply install Python like other softwares :

sudo apt-get install python2.7

Clone this wiki locally