Hi, I’m trying to execute a python script that requires Python3
val results = executeCommandLine("/etc/test.py",1000) logInfo("Test", results)
I had some problems with permissions, so I changed the file permission to 777 and OpenHab is now correctly trying to execute the file. I also changed the default Python version on my Raspberry to 3.7. The script executes correctly when I run it via SSH, but with OpenHab I get the exact same syntax error as using the old Python version. Is there some intern OpenHab configuration for Python I have to change? I think I have read every forum on this topic but didn’t find any answer.
Any help would be highely appreciated.