I am not really using python 2.7, but it's the default Python version on CentOS 7 so I kind of used it without thinking.
Could not use PySimpleGUI (current pip version) because of
Traceback (most recent call last):
File "./smartd_pyngui.py", line 36, in <module>
import PySimpleGUI as sg
File "/usr/lib/python2.7/site-packages/PySimpleGUI/__init__.py", line 2, in <module>
from .PySimpleGUI import *
File "/usr/lib/python2.7/site-packages/PySimpleGUI/PySimpleGUI.py", line 5949
def __init__(self, title, current_value, max_value, key, *args, orientation='v', bar_color=(None, None),
^
SyntaxError: invalid syntax
Yea, in order to run 2.7, you have to pip install PySimpleGUI27, otherwise you get the errors you're seeing.
Most helpful comment
Yea, in order to run 2.7, you have to pip install PySimpleGUI27, otherwise you get the errors you're seeing.