tacacsgui / tgui_install

Installation script for TacacsGUI
GNU General Public License v3.0
21 stars 9 forks source link

PyCairo Issues during Install #15

Open aoadmin01 opened 2 years ago

aoadmin01 commented 2 years ago

When running TACGUI install via script on a fresh 18.04.6 Ubuntu virtual machine (with changes outlined below) errors similar to what is below are presented (about 10 - 12 iterations). All variations of error refer to the inability to create wheels for pycairo.

Changes made directly after clean install of Ubuntu 18.04.6 image downloaded today from Ubuntu and prior to installing TACGUI:

  1. modifying /etc/ssh/sshd_config to allow SSH via PubCert only
  2. running apt update/upgrade
  3. disabling apparmor
  4. creating tacgui:tacgui/adding to sudo group
  5. replacing UFW with FIREWALLD

Error received during scripted install: ERROR: Failed building wheel for pycairo Failed to build pycairo ERROR: Could not build wheels for pycairo, which is required to install pyproject.toml-based projects command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpoo4ja83u

WARNING: Discarding https://files.pythonhosted.org/packages/0b/fd/56ac6898afc5c7f5718026103bd8f0b44714b6f79ac20d7eb8990c9a7eab/PyGObject-3.32.0.tar.gz#sha256=a4d6f6d8e688d28e07119fc83aabc6e7aad02057f48b2194089959d03654f695 (from https://pypi.org/simple/pygobject/). Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-vip7j6fe/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo Check the logs for full command output.