Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPreprocessor & new python version #187

Open
KrzysztofHerman opened this issue Aug 27, 2024 · 1 comment
Open

PyPreprocessor & new python version #187

KrzysztofHerman opened this issue Aug 27, 2024 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@KrzysztofHerman
Copy link
Contributor

Environment

  • Klayout Version: 0.29.0
  • OS/Platform: Ubuntu 24.04

Expected Behavior

run klayout without issues

Actual Behavior

pypreprocessor 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

@sergeiandreyev
Copy link
Contributor

could you please specify Python version that produces the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants