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.
PYNQ doesn’t directly support installation through conda, we use a Python virtual environment instead.
What is your use case for conda? The PYNQ SD card images already come with the Python virtual environment installed and is used when running the Jupyter environment. If you pip install any packages within the Jupyter environment (e.g. from the terminal) they will automatically be added to the virtual environment.
If you want to install packages outside the Jupyter interface (e.g. ssh or serial) then you can source the virtual environment by running source /etc/profile.d/pynq_venv.sh (make sure you are running as root), then just pip install any packages you want.