Skip to content

ModuleNotFoundError: No module named 'pynq' #1270

Answered by Mengzou01
Mengzou01 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi auphelia,
Thank you for your helping, I have already solve the issue. Which I also replied the Issue in #1070
The error may be caused because the Python path used by sudo is not the correct one that contains the PYNQ module.
So, use the command: 'sudo -E /usr/local/share/pynq-venv/bin/python3' instead of 'sudo python3'.
L.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Mengzou01
Comment options

Answer selected by auphelia
@Mengzou01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants