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!