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

quickstart guide #1066

Closed
arlted opened this issue Jun 28, 2022 · 6 comments
Closed

quickstart guide #1066

arlted opened this issue Jun 28, 2022 · 6 comments

Comments

@arlted
Copy link

arlted commented Jun 28, 2022

I received an error while running the following command from the tutorial. Could you please point out what i am missing?

Command: python -c "import siliconcompiler;chip=siliconcompiler.Chip();print(chip.get('version','sc'))"

Error message:
.../venv/lib64/python3.6/site-packages/siliconcompiler/crypto.py:3: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Traceback (most recent call last):
File "", line 1, in
TypeError: init() missing 1 required positional argument: 'design'

@nmoroze
Copy link
Contributor

nmoroze commented Jun 29, 2022

Sorry about that, we've had some API changes since so the docs are currently incorrect.

I think the new equivalent would be:

python -c "import siliconcompiler;print(siliconcompiler.__version__)"

I'll leave this issue open until we fix the docs.

@arlted
Copy link
Author

arlted commented Jun 29, 2022 via email

@nmoroze
Copy link
Contributor

nmoroze commented Jun 30, 2022

That looks to me like a problem with your Yosys installation. Is there an error message when you just run yosys directly from the command line?

@arlted
Copy link
Author

arlted commented Jul 1, 2022 via email

@nmoroze
Copy link
Contributor

nmoroze commented Jul 1, 2022

Got it, glad to hear!

@nmoroze nmoroze closed this as completed Jul 1, 2022
@arlted
Copy link
Author

arlted commented Oct 11, 2022 via email

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