Koustubh
06/12/2024, 3:14 PMModuleNotFoundError: No module named 'glayout.flow.primitives'
but if no such module exists how is it able to work in the google colab notebook? I have attached screenshots of the section of the notebook I am referring to and the local code I am using (NOTE : I am using klayout + klive to view the layout, so I assume when I use the .show() method for the component it will show me the layout in the klayout window)
can anyone please help me with fixing this error?Sakib Pathen
06/12/2024, 3:29 PMSakib Pathen
06/12/2024, 3:29 PMSakib Pathen
06/12/2024, 3:30 PMKoustubh
06/12/2024, 3:31 PMSakib Pathen
06/12/2024, 3:33 PMSakib Pathen
06/12/2024, 3:34 PMsudo docker ps -a
Copy the id of the container that you installed the packages on, then
sudo docker commit <container ID> <image name or openfasoc:glayout>
Koustubh
06/12/2024, 3:38 PMOpenFASOC-->MY_FILES-->mosfets.py
or do I have to save it at a specific location?Sakib Pathen
06/12/2024, 4:02 PMKoustubh
06/13/2024, 3:15 AMKoustubh
06/13/2024, 3:17 AMModuleNotFoundError: No module named 'glayout.flow.primitives'
Chetanya Goyal
06/13/2024, 8:15 AMpip uninstall glayout
and then work in the openfasoc/generators/glayout/flow/blocks
directory to create your designs, you should be able to find modules thenKoustubh
06/13/2024, 8:30 AMpip uninstall glayout
and then pip install glayout
. After which I commited the changes to the container and despite having moved the file to the glayout/flow/blocks
folder, I still get the same error that it is unable to find the moduleKoustubh
06/13/2024, 8:32 AMfet.py
inside glayout/flow/primitives
. I even removed the repo and the docker container and image and did a fresh install and this screenshot is from the fresh install but it still is unable to find the modules somehowSaptarshi Ghosh
06/13/2024, 10:08 AMtest_glayout.py
is! But If we are creating this file inside `glayout/flow/blocks/<your folder>, I dont know how we can find
from glayout.flow.pdk.gf180_mapped import gf180_mapped_pdk as gf180
This is indended to run from the location same as the test codeKoustubh
06/13/2024, 1:43 PM