Hi Era,
Could you clarify how you’re running your code, what’s your setup? Are you running these commands from a jupyter lab notebook or as a script? This could happen if for whatever reason you’re not in the pynq-venv, for reference: OSError: Root permissions required - #2 by skalade
Thanks
Shawn