在 Ubuntu 16.04 LTS 中安装 Pygame 时遇到问题!

在 Ubuntu 16.04 LTS 中安装 Pygame 时遇到问题!

我想安装Pygame在我的机器上运行 Ubuntu 16.04 LTS(我已经有Python 2.7)。这是我sudo apt-get install python-pygame在终端中运行时显示的内容:-

Reading package lists... Done
Building dependency tree       
 Reading state information... Done
 You might want to run 'apt-get -f install' to correct these:
 The following packages have unmet dependencies:
 python-pygame : Depends: python-numpy (>= 1:1.8.0) but it is not going to be installed
             Depends: python-numpy-abi9
             Depends: libportmidi0 but it is not going to be installed
             Depends: libsdl-mixer1.2 but it is not going to be installed
             Depends: libsdl-ttf2.0-0 but it is not going to be installed
             Depends: libsmpeg0 but it is not going to be installed
   ttf-mscorefonts-installer : Depends: cabextract
     E: Unmet dependencies. Try 'apt-get -f install' with no packages    (or specify a solution).

相关内容