importlib is now included in the python standard library, so including it in setup.py causes installation errors.
not sure how you want to fix it, but I was able to get the install working by just deleting all the importlib-related packages from the setup.py script.
% pip install lcapygui
Collecting lcapygui
Downloading lcapygui-0.93-py3-none-any.whl.metadata (1.2 kB)
Collecting importlib (from lcapygui)
Downloading importlib-1.0.4.zip (7.1 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
importlib is now included in the python standard library, so including it in
setup.pycauses installation errors.not sure how you want to fix it, but I was able to get the install working by just deleting all the importlib-related packages from the
setup.pyscript.