Skip to content

ImportError: cannot import name 'PnR' from partially initialized module 'align' (most likely due to a circular import) #1355

@hoangtnguyen-3702

Description

@hoangtnguyen-3702

Hello everyone,

Currently, I am working on the layout automation using the ALIGN framework. I have completed the installation of ALIGN but I could not run their suggested example of building the layout for the telescopic OTA (as in their document in https://align-analoglayout.github.io/ALIGN-public/notes/installation.html) using the following two commands

mkdir work && cd work
schematic2layout.py ../examples/telescopic_ota -p ../pdks/FinFET14nm_Mock_PDK/

I had the error as below

ImportError: cannot import name 'PnR' from partially initialized module 'align' (most likely due to a circular import) (/mnt/c/Users/hoangtn/ALIGN_layout_automation/ALIGN-public/align/init.py).

I am using Ubuntu 22.04.5 LTS and Python 3.12.10 to run ALIGN.

Can anyone help me solve my problem?

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions