web-dev-qa-db-ja.com

Python 2.7のIDLEをインストールできません

ターミナルとソフトウェアセンターを使用してIDLE 2.7をインストールしようとしていますが、同じ間違いが発生します。

Package dependencies cannot be resolved

This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

The following packages have unmet dependencies:

idle-python2.7: Depends: python2.7-tk but it is a virtual package

Ubuntu 14を使用しています。この問題を解決する方法はありますか? IDLE 3.4は正常に動作していますが、2.7が必要です。

1
Arturo Gonzalez

ターミナルを開き、次を入力します。

Sudo apt-get update
Sudo apt-get install aptitude
Sudo aptitude install python-tk idle-python2.7 idle  

Apt-getの代わりにaptitudeを使用すると、競合するパッケージを削除するための自動ソリューションが提供される場合があります。

1
karel