PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

How do I update python3.7 without a network

How do I update python3.7 without the network? (available offline python3.7 package)

Download the files and copy them to the board?
Why do you need to do this?
Cathal

Many thanks for your replying.
I use the campus network, one account limit can only be used by one terminal, using the router to PYNQ network is not feasible.So PYNQ’s network cable can only be directly connected to the computer, the computer has no network, PYNQ has no network, check the SD card python version is python2.7, I want to upgrade python3.7, I never thought of a solution

Python 2.7 is installed on the board, and is the default in Ubuntu, but PYNQ uses Python 3.6 which is also installed on the board.
Run python3 to use this version. This is the verison of Python supported by PYNQ.

Cathal

Thank you very much,
I checked that there was python3.5.1 on the board, but I wrote the following code on jupyter that failed to execute, prompting The kernel appears to have died. It will restart automatically.
Is it because my python version is wrong? Or is it because there are no opencv libraries?
1

import cv2 as cv
import numpy as np
from matplotlib import pyplot as plt

src1 = cv.imread(“lena.png”)
cv.namedWindow(“input image”, cv.WINDOW_AUTOSIZE)
cv.imshow(“input image”, src1)

cv.waitKey(0)
cv.destroyAllWindows()

I’ve identified the problem I’ve encountered, which is that the following two sentences don’t work

cv.namedWindow(“input image”, cv.WINDOW_AUTOSIZE)
cv.imshow(“input image”, src)