Menu

Python script interpreter

Sébastien Gallou

Note that Yadoms has moved, click here for new wiki

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


Related

Wiki: How to build from sources
Wiki: Swig

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.