Проблемы установки Инструмента графика

Я пытаюсь установить инструмент графика Python на человечности 16.04.

Я попробовал оба пути, предложенные здесь https://graph-tool.skewed.de/download#packages:

  1. ручное использование установки .\configure make make install
  2. предварительно скомпилированные пакеты и apt-get install python-graph-tool

Ручная установка имеет большую проблему в make фаза.

Второй путь (который является также предложенным) дает мне следующую ошибку:

sudo apt-get -y --force-yes install python-graph-tool
[sudo] password for riccardo: 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
python-graph-tool : Depends: libboost-iostreams1.58.0 but it is not installable
                 Depends: libboost-python1.58.0 but it is not installable
                 Depends: libboost-regex1.58.0 but it is not installable
                 Depends: libboost-graph1.58.0 but it is not installable
                 Depends: libboost-system1.58.0 but it is not installable
                 Depends: libboost-thread1.58.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

Если я работаю sudo apt-get install libboost-all-dev Я добираюсь:

sudo apt-get install libboost-all-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libboost-all-dev is already the newest version (1.61.0.2).
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

И Если я пытаюсь установить каждый единственный пакет вручную, я получаю, например:

sudo apt-get install libboost-coroutine1.58.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libboost-coroutine1.58.0 is not available, but is referred to by  another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libboost-coroutine1.58.0' has no installation candidate

Я плохо знаком с Python и для Linux. Можно ли помочь мне выяснить то, что идет не так, как надо в здесь?

Большое спасибо

3
задан 7 January 2017 в 20:38

2 ответа

Ищите недостающие пакеты в индексе пакета Ubuntu для xenial-updates ( пример ) и загрузите их для своей архитектуры. Затем установите их со своим любимым диспетчером пакетов. На командная строка, которая могла быть:

sudo apt install libboost*_$(dpkg --print-architecture).deb
0
ответ дан 1 December 2019 в 21:03

Это говорит в документации, что РАСПРЕДЕЛЕНИЕ может быть любым из

xenial, yakkety, zesty

, я получил ту же ошибку, как Вы сделали с zesty:

The following packages have unmet dependencies:
 python3-graph-tool : Depends: libboost-iostreams1.62.0 but it is not installable
                      Depends: libboost-python1.62.0 but it is not installable
                      Depends: libboost-regex1.62.0 but it is not installable
                      Depends: libboost-graph1.62.0 but it is not installable
                      Depends: libboost-system1.62.0 but it is not installable
                      Depends: libboost-thread1.62.0 but it is not installable
                      Recommends: python3-matplotlib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

, но никакие проблемы при испытании xenial:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gdebi-core libgles1-mesa linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-headers-4.4.0-72 linux-headers-4.4.0-72-generic
  linux-image-4.4.0-62-generic linux-image-4.4.0-72-generic linux-image-extra-4.4.0-62-generic linux-image-extra-4.4.0-72-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  fonts-lyx libboost-context1.58.0 libboost-coroutine1.58.0 libboost-graph1.58.0 libboost-python1.58.0 libcgal11v5 libjs-jquery-ui
  python-matplotlib-data python3-cycler python3-dateutil python3-decorator python3-matplotlib python3-numpy python3-pyparsing python3-scipy
  python3-tk python3-tz ttf-bitstream-vera
Suggested packages:
  libjs-jquery-ui-docs ffmpeg ipython3 python-matplotlib-doc python3-cairocffi python3-gobject python3-nose python3-pyqt4 python3-sip
  python3-tornado ttf-staypuft gfortran python-numpy-doc python3-dev python3-numpy-dbg python-scipy-doc tix python3-tk-dbg
The following NEW packages will be installed:
  fonts-lyx libboost-context1.58.0 libboost-coroutine1.58.0 libboost-graph1.58.0 libboost-python1.58.0 libcgal11v5 libjs-jquery-ui
  python-matplotlib-data python3-cycler python3-dateutil python3-decorator python3-graph-tool python3-matplotlib python3-numpy python3-pyparsing
  python3-scipy python3-tk python3-tz ttf-bitstream-vera
0 upgraded, 19 newly installed, 0 to remove and 61 not upgraded.
Need to get 51.1 MB of archives.
After this operation, 247 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
WARNING: The following packages cannot be authenticated!
  python3-graph-tool
Install these packages without verification? [y/N] Y
0
ответ дан 1 December 2019 в 21:03

Другие вопросы по тегам:

Похожие вопросы: