因为车道线需要视频,所以就想安装一个播放器,安装教程参考 https://blog.csdn.net/u011795345/article/details/78810091 ,
但是中间遇到了这个问题 ModuleNotFoundError: No module named 'apt_pkg’
我找了一篇博客,参考 https://blog.csdn.net/u014221090/article/details/82657401 ,
但是按教程中说的先删除python-apt以后,我在重装python-apt的时候出现了错误,
报错信息如下
sudo apt-get install -f -y python-apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-apt is already the newest version (1.1.0~beta1ubuntu0.16.04.2).
The following packages were automatically installed and are no longer required:
libfftw3-single3:i386 libgomp1:i386 liborc-0.4-0:i386 libpam-systemd:i386
libpulsedsp:i386 libtdb1:i386 libwebrtc-audio-processing-0:i386
libxtst6:i386
Use 'sudo apt autoremove'