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

ModuleNotFoundError: No module named 'gdsfactory.types' #2706

Open
mchen26 opened this issue Apr 26, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'gdsfactory.types' #2706

mchen26 opened this issue Apr 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mchen26
Copy link

mchen26 commented Apr 26, 2024

ERROR: /foss/designs/.klayout/pymacros/cells/via_generator.py:23: ModuleNotFoundError: No module named 'gdsfactory.types'
/foss/designs/.klayout/pymacros/cells/via_generator.py:23
/foss/designs/.klayout/pymacros/cells/vias.py:20
/foss/designs/.klayout/pymacros/cells/init.py:21
/foss/designs/.klayout/pymacros/sky130.lym:9 (class ModuleNotFoundError)

I am running into this error when launching klayout using skywater130 pdk. Previously, I did not run into this issue, but is coming up now. I have tried upgrading to the latest version of gdsfactory - same issue. Let me know if you need more context. Thanks

@mchen26 mchen26 added the bug Something isn't working label Apr 26, 2024
@joamatab
Copy link
Contributor

Hi Matthew,

this seems like your pdk is using an old gdsfactory, and you upgraded gdsfactory to the latest version

You will need to use

pip install sky130 and then use the version that the PDK installs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants