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

make pdk fails with :: ModuleNotFoundError: No module named 'yaml' #544

Closed
vijayank88 opened this issue Aug 17, 2021 · 1 comment
Closed

Comments

@vijayank88
Copy link
Collaborator

vijayank88 commented Aug 17, 2021

Describe the bug
When we install openlane with "git clone https://github.com/The-OpenROAD-Project/OpenLane.git" and following step #make pdk command fail with below error:
Traceback (most recent call last):
File "./dependencies/tool.py", line 15, in
import yaml <---
ModuleNotFoundError: No module named 'yaml'
git clone /home/indir/OpenLane/pdks/skywater-pdk
fatal: repository '/home/indir/OpenLane/pdks/skywater-pdk' does not exist
make: *** [Makefile:87: /home/indir/OpenLane/pdks/skywater-pdk] Error 128

Desktop (please complete the following information):
Important Note::This issue arise only when using below OS.

  • OS:Ubuntu 20.04 and Centos 7 and above

Workaround is install pyymal with below command and then try #make pdk
#sudo pip3 install pyyaml
#make pdk

I have tested at end above solution working fine.
@donn Please verify is this valid and approve it, then I will Close this GitHub issue.
Thanks..

@donn
Copy link
Collaborator

donn commented Aug 17, 2021

This isn't a workaround. This is in the Readme.

Required, amongst other things: click, pyyaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants