Why it is possible for PyQt5 to be overwritten by using QMediaPlayer and label,label in the same widget1

[problem description]
to develop a graphical interface using pyqt5, you need to display videos and pictures in the same place in the window, that is, to display a picture after the video is played. My idea is to build a widget, the widgt as the VedioOutput, of the QMediaPlayer and create a label as a child control of the widget, and then insert the picture after playing the video. The code is as follows:

-sharp 
self.widget1 = QtMultimediaWidgets.QVideoWidget(self.centralwidget)
self.widget1.setMinimumSize(QtCore.QSize(480, 400))
self.widget1.setAutoFillBackground(False)
self.widget1.setObjectName("widget1")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.widget1)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.img = QtWidgets.QLabel(self.widget1)
self.img.setMinimumSize(QtCore.QSize(704, 396))
self.img.setText("")
self.img.setScaledContents(True)
self.img.setObjectName("img")
self.horizontalLayout_2.addWidget(self.img)
...
-sharp 
self.mediaPlayer = QtMultimedia.QMediaPlayer(None, QtMultimedia.QMediaPlayer.VideoSurface)
self.mediaPlayer.setVideoOutput(self.widget1)
self.mediaPlayer.setNotifyInterval(1000)
self.widget1.show()
...
-sharp 
self.image = QtGui.QPixmap(path)
self.img.setPixmap(self.image)
self.img.show()

when I run on my local computer, pictures can appear after playing the video, but the magic is that after I move to the public computer, the image will be overwritten by the video, and the black screen cannot be displayed all the time. The raise method has been tried and has no effect. Local computers and public computers are both WIN10 systems, python and other versions are also the same.

what is the possible reason for asking the bosses for advice? Thank you very much!

Dec.31,2021
There is a difference between python32 and 64 bits on

1.windows.
2.window10 system bug many try to change the console again


check and find that the version of pyqt5 is inconsistent, and it will be normal after going back to 5.9.2 on the public computer. Thank you for your answers

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e443ac-43fdf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e443ac-43fdf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?