Skip to content

ImportError: cannot import name '__version__' from 'klayout' #1774

@Br1tt21

Description

@Br1tt21

When running KLayout with SKY130 library loaded (installed via built-in package manager), following error was thrown:
ERROR: ImportError: cannot import name '__version__' from 'klayout' (/usr/lib/pymod/klayout/__init__.py)
Resolved it by manually adding __version__ = "0.29.2" to the file. Pretty sure the specific number didn't really matter, because I'm using KLayout version 0.29.0.

KLayout is installed via Arch repository. Not sure if this issue belongs here, at the packager or somewhere else. If that's the case please let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions