This has been documented on other posts. Since pynq 2.7, the pynq package is installed in a virtual environment. Running as sudo sources the environment whereas the regular user is not sourcing the venv.
Run result:
Parent class: (<class ‘pynq.overlay.DefaultHierarchy’>,), driver: <class ‘pynq.overlay.DocumentHierarchy…DocumentedHierarchy’>
The overlay load and other service is all OK.
I am installing composable and running the FIR example here.
So before running composable all overlay designs are normal and root right had no issues.
How this actually sense to use which driver? SD image require any attention?
You can verify that cfilter object is inheriting from pynq.DefaultHierarchy and it is assigned the Composable driver. This assignation is done automatically, as our overlay meets the two key characteristics of a composable overlay.
What board are you using? (Custom Board same device with xc7z020)
How are you running this? (Jupyter Net book approach same as general with evaluated design on DMA FIR and custom HLS example)
What pynq version are you using? (2.7)
Did you install the composable overlay on your board? (Yes install on board via Putty and it is showing success)
Point 4 worth to mention more:
I am installing
xilinx@pynq: git clone GitHub - Xilinx/PYNQ_Composable_Pipeline: PYNQ Composabe Overlays
xilinx@pynq: python3 -m pip install PYNQ_Composable_Pipeline/ --no-build-isolation
xilinx@pynq: pynq-get-notebooks pynq_composable -p $PYNQ_JUPYTER_NOTEBOOKS
The last step it is showing the above warning message so I try to run
xilinx@pynq: python3
import the pynq_composable
warning message return
But when running with sudo it return wo warning
While running the import on Jupyter netbook never return any warning message.
How you check if you are installing in the correct environment:
pip -V
should return pip 21.2.1 from /usr/local/share/pynq-venv/lib/python3.8/site-packages/pip (python 3.8), otherwise the environment is not the same as the JupyterLab
I will reimage the SD card and try a bit.
So the installation worth mention a bit the env
So if I am understanding this correctly:
sudo su
source /etc/profile.d/pynq_venv.sh
Then install as the git suggest is same as using JupyterLab?