I am setting the initial setting of PYNQ-Z1 on the FPGA board, but I can't do it well.
xilinx@pynq:~$sudo/home/xilinx/scripts/update_pynq.sh
It says on the web that you can do it like this, but
The scripts
folder does not exist, so I cannot update it.
Maybe because I can't update, I can't even use pip
.
What should I do?
Additional
I looked at the official setup and set it up, but pip
was not available, so
Try Deep Learning with FPGA
xilinx@pynq:~$sudo/home/xilinx/scripts/update_pynq.sh
I tried to do this, but the file did not exist, so I cannot do it.
To be honest, as long as I can use pip
, I don't have to be able to update, but I can't use pip
, so I wonder if it will heal if I update it...
I honestly don't know about PYNQ-Z1, but
If you have the latest version of the software, I will write down the procedure.
According to the link above, all sample notebooks are in GitHub.
https://github.com/xilinx/pynq
Python Source Code
All Python code for the pynq package can be found in the /pynq folder. This folder can be found on the board after the board boots with the precompiled image.
To update your PYNQ SD card to the latest pynq package, you can run the following command from a terminal connected to your board:
sudo pip3 install --upgrade --upgrade-strategy only-if-needed pynq
I'm not sure which Linux distribution it is (and not sure if it's)
The pipe
/pipe3
command may not be included at first.
In that case, you may be able to replace it with python3-mpip
(like this)
sudo python 3-mpip install --upgrade --upgrade-strategy only-if-needed pynq
However, it may be better to create a virtual environment such as venv
and do it there because it is not available (on Linux distribution) so that the system side environment will not be destroyed.
© 2024 OneMinuteCode. All rights reserved.