Issues installing and questions about Jython 2.7.0/1 on Rasbian

Trying to setup Jython using the installer and setup using, and as obtained from their website (
Nice thing clicking on ‘installation instructions’ shows the 2.7.1 version…

Installing both 2.7.1 or 2.7.0 results in errors during setuptools. (

Before continuing I want to know who has a setup running Jython on a Pi, and about performance/reliability: Running Jython command from the console takes a long time.
And whether the (failed) setuptools can be ignored: looks like pip will not be installed… (did some googling and testing)

I currently did not yet integrate Jython into Openhab2 (as documentation suggesting), and also some issues about order of startup and items…

  • Platform information:
    • Hardware: Raspberry2B
    • OS: Raspbian Stretch
    • Java Runtime Environment: OpenJDK Runtime Environment (Zulu Embedded (build 1.8.0_152-b76)
    • openHAB version: 2.

I don’t have a Pi now but I did use to use Jython on a Pi and it was fast
What else is your PI running?

I set it up a long time ago just to play with it a little. I wrote a tutorial for how to get it to work in Docker.

I don’t think you can use two different versions of Jython at the same time.

I’m also not sure if pip installed libraries are available or not. Those libraries don’t exist in the Docker container so I never explored that avenue. I also never really got much further than exploring what was possible in it. I never converted my Rules over.

Performance is generally superior to Rules DSL and I’ve not seen any complaints about reliability. There are far fewer people available for support on this forum though, if that is a concern. You should look at Lucid, which is a Jython library that makes writing Rules a bit easier and cleaner. Search the forum and you will find some postings.