Ведущий: Ubuntu 14,04Ubuntu проблема зависимости 14,04 пакет
Когда я выполнил сценарий, я получил следующий вопрос:
The following packages have unmet dependencies:
dh-python : Depends: python3:any (>= 3.3.2-2~)
lsb-release : Depends: python3 but it is not going to be installed
Depends: python3:any (>= 3.3.2-2~)
ubuntu-minimal : Depends: python3 but it is not going to be installed
Depends: resolvconf
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Я вошел apt-get -f install
и снова выполняется сценарий. Однако никаких изменений он не внес.
версия питона на моей системе:
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
вам нужно использовать python3 – Hackaholic
попробовать 'python3 your_file.py' – Hackaholic
Ubuntu 14.04 поставляется с Python3 также. –