Hi
@Leo Moser, thank you very much!! It works now! So I had to do a couple of things to solve this, and I am not sure if that's the best approach:
1- I installed pydantic 1.10 and gdsfactory 6.33.0 inside the docker container (iic-osic-tools) from
https://codeberg.org/mole99/klayout-sky130-inverter
2- Attempted to run klayout from the path:
/$PDK_ROOT/$PDK/libs.tech/klayout
but it gives an error (second image) because the header file had to be removed based on your instructions. However, the .lym file is read only (1st image).
3- To solve this, I created a .klayout directory under an arbitrary design path:
/foss/designs/.klayout
and I copied the contents of /$PDK_ROOT/$PDK/libs.tech/klayout/pymacros into /foss/designs/.klayout/pymacros and then removed the header lines
4- Finally I ran klayout using KLAYOUT_HOME=/foss/designs/.klayout klayout -e and now I am able to load the pcells.
Thank you very much ๐ I've been debugging this issue for days. I am not sure if that's the correct workaround, but it seems to be working!