ERROR: /home/leo/projects/IHP-Open-PDK/ihp-sg13g2/libs.tech/klayout/python/pypreprocessor/pypreprocessor/__init__.py:11: ModuleNotFoundError: No module named 'imp'
My Python version is 3.12.7 and it seems that
imp
has been deprecated in favor of
importlib
in version 3.12.
A quick solution is to change the import in pypreprocessors
__init__
to:
Copy code
import importlib as imp
A better solution would be to replace all occurrences of
imp
with
importlib
.
There's a commit in your pypreprocessor fork that added the
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.