spyoungtech / spyoungtech/FreeSimpleGUI

Import error

Open
#84 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
867
Forks
106
Avg merge
1m
Merged PRs (30d)
2

Description

See below.
‐----------------
python
Python 3.12.11 (main, Aug 26 2025, 14:03:05) [Clang 19.0.1 (https://android.googlesource.com/toolchain/llvm-project 97a699bf4 on linux
Type "help", "copyright", "credits" or "license" for more information.

import FreeSimpleGUIWeb
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/remi/gui.py", line 32, in
from HTMLParser import HTMLParser
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/HTMLParser.py", line 11, in
import markupbase
ModuleNotFoundError: No module named 'markupbase'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/FreeSimpleGUIWeb/init.py", line 15, in
import remi
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/remi/init.py", line 1, in
from .gui import Widget, Button, TextInput,
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/remi/gui.py", line 40, in
unescape = h.unescape
^^^^^^^^^^
AttributeError: 'HTMLParser' object has no attribute 'unescape'

I tried using pip to install markupbase, but it was not found.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with Python 3.12 and inspect the reported site-package files remi/gui.py and HTMLParser.py, including their dependency on markupbase. Determine the compatibility issue behind the missing module and HTMLParser.unescape error. Done means importing FreeSimpleGUIWeb completes without these traceback errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.