Running pynq code outside jupyter notebook in a remote ssh

For a code which runs successfully in the jupyter notebook, if I try to run in it like a python script file from a remote ssh terminal, it throws error: No Devices found. Attached is the snapshot. What are the settings to be done. Kindly help to run this code in a normal ssh shell .

Hi @harivan,

You need to source the `pynq` env as root

Mario