You can avoid this problem by using python 3.12
Although FreeSimpleGUI claims to be compatible with python 3.4+, it is apparently not compatible with python 3.13.
Your import statement works fine using python 3.12