Hi, I’m a student who is new to Pynq. I would like to use Pynq on ZCU104 while managing my environment with conda. But I was unable to install pynq with pip.
Here are the detailed steps:
Boot with the precompiled v3.0.1 image found on PYNQ supported boards and PYNQ pre-built images | PYNQ
Install miniconda (linux/arm64) with installer found on Download Now | Anaconda
Create a conda environment with python 3.10
Deactivate base environment & activate the new one
Install ipykernel, jupyter, pytorch & torchvision with conda
Install pynq with pip
1 Like
When I tried to perform step 6, it always ended with ModuleNotFoundError: No module named ‘pynqutils’
Here are the things I’ve tried, but none of them worked
Run the commands with sudo
Install pynqmetadata & pynqutils with pip first, as described on failure to upgrade pynq in virtual python environment · Issue #1432 · Xilinx/PYNQ · GitHub ) (the installation was successful)
Run the command sudo pip3 install --upgrade --upgrade-strategy only-if-needed pynq
as described on pip3 install fails ModuleNotFound error · Issue #19 · Xilinx/PYNQ-HelloWorld · GitHub
Is there any way to solve this issue ?
Many thanks !
1 Like
matthew
December 27, 2024, 1:47pm
3
Hi,
Is your issue similar to this previous request?
Hi matthew,
Thanks for replying.
My issue is similar to that, but the solution there doesn’t work for me.
pip install pynq
and pip3 install pynq
give me the same results.
Also, my error message is No module named 'pynqutils'
.
I don’t know if it’s equivalent to 'pynq.utils'
.
Thanks again !