-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Type of Issue (Enhancement, Error, Bug, Question)
Bug. When installing PySimpleGUIWeb, remi <=2020.3.10 is installed as a dependency.
ModuleNotFoundError: No module named 'HTMLParser' is actually thrown by remi
Issue can be solved by updating remi.
Operating System
Windows 10
PySimpleGUIWeb
Versions
Python version (sg.sys.version
)
3.9.4
PySimpleGUI Version (sg.__version__
)
0.39.0
GUI Version (tkinter (sg.tclversion_detailed
), PySide2, WxPython, Remi)
remi 2020.3.10
Your Experience In Months or Years (optional)
2 Years Python programming experience
5 Years Programming experience overall
Have used another Python GUI Framework? pysimplegui tkinter version
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
- Searched main docs for your problem www.PySimpleGUI.org
- Looked for Demo Programs that are similar to your goal Demos.PySimpleGUI.org
- If not tkinter - looked for Demo Programs for specific port
- For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
- Run your program outside of your debugger (from a command line)
- Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
- Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released
Detailed Description
I've just tried the simple introductory GUI as outlined on pysimplegui. pysimpleguiweb was installed by pip install, which then installed remi as a dependency.
Python 3.9.4
PySimpleGUIWeb 0.39.0
remi 2020.3.10
The program
import PySimpleGUIWeb as sg
layout = [[sg.Text("What's your name?")], [sg.Input()], [sg.Button('Ok')]]
window = sg.Window('Window Title', layout)
event, values = window.read(close=True)
and it fails with
Traceback (most recent call last):
File "C:\Users\________\AppData\Local\Programs\Python\Python39\Lib\site-packages\remi\gui.py", line 32, in <module>
from HTMLParser import HTMLParser
ModuleNotFoundError: No module named 'HTMLParser'
and then some more exceptions because of that exception.
Updating remi as pip install remi --update
solved the issue.
Screenshot, Sketch, or Drawing
Watcha Makin?
Data visualisation tool using plotly.