我将 Ubuntu 从 17.04 更新到 17.10,然后更新到 18.04,现在我的 Python 似乎坏了。运行apt-get upgrade返回以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libopencv-highgui3.1 : Depends: libopencv-videoio3.1 (= 3.1.0+dfsg1-1~exp1ubuntu3) but it is not installable
Depends: libopencv-imgcodecs3.1 but it is not installable
libopencv-videostab3.1 : Depends: libopencv-videoio3.1 but it is not installable
libpython-all-dev : Depends: libpython-dev (= 2.7.14-2ubuntu1) but 2.7.15~rc1-1 is installed
python : PreDepends: …Run Code Online (Sandbox Code Playgroud)