after an update of pysimplegui package, every time i try to run a script i get the same error as in the subject.
For example:
import PySimpleGUI as sg
layout = [[sg.Text('this is a try')]]
window = sg.Window('mytitle', layout)
When i run the code the window is created but then a popup tell me: "Error creating window layout Layout has a FUNCTION instead of an ELEMENT this likely means you are missing () from your layout" error message and then the window is empty. This happens with every script, while until this morning before the update everithing was running fine, I've tried to downgrade the install but now the same error occours with every version