PYNQ v2.7, No module named pynq issue

less than 1 minute read


PYNQ v2.7, Ultra92 v2, Xilinx 2020.2 tools


NOTE: I used JTAG+UART module(like this) to access board’s terminal.

After ssh into the board, if I do python, it results in OSError: Root permissions required error.

If I do sudo python, it results in ModuleNotFoundError: No module named 'pynq' error.


The simplest solution is use the Jupyter notebook. When I use Jupyter notebook, I have none of these issues.

If you want to access terminal using something like Putty, you may want to do following:

sudo -s
source /usr/local/share/pynq-venv/bin/activate