Skip to content

PySimpleGUI tk version Python 2.7 bug #1016

@deajan

Description

@deajan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions