Index: bin ================================================================== --- bin +++ bin @@ -7,7 +7,15 @@ # Invocation script for /usr/share/streamtuner2/st2.py import sys, os sys.path.insert(0, "/usr/share/streamtuner2") -import st2 -st2.main() +try: + import st2 + st2.main() +except ImportError as e: + import traceback, re + print(traceback.format_exc()) + name = re.findall("\w+$", e.message)[0] + print("Alternatively try to start streamtuner2 with Python3: `python3 /usr/bin/streamtuner2`") + print("Else you might need to install missing modules: `pip install {}` or `pip3 install {}`\n".format(name, name)) +