GitHub
12/18/2024, 1:15 PMpypreprocessor
API reports the lack of module imp
Steps to Reproduce the Problem
1. Install ubuntu 24.04
2. Compile klayout from sources
3. Clone IHP-Open-PDK
4. Export KLAYOUT_PATH & KLAYOUT_HOME
5. Run klayout
The issue can be solved changing $PDK_ROOT/$PDK/libs.tech/klayout/python/pypreprocessor/pypreprocessor/__init__.py
line 11
import imp
to import importlib
IHP-GmbH/IHP-Open-PDKGitHub
12/18/2024, 1:15 PM