Hi,
I am trying to install tunnel on Linux Mint xfce, but I am receiving an error.
I followed the steps for Linux Mint to install pipx (sudo apt-get install python3-pip; python3 -m pip install --user pipx; python3 -m userpath append ~/.local/bin). Then continued with pipx install ldh-client but received the following error:
Summary
ERROR: Command errored out with exit status 1:
command: /home/sarah/.local/pipx/venvs/ldh-client/bin/python /home/sarah/.local/pipx/shared/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-vdn87a4u/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple – setuptools wheel pycairo
cwd: None
Complete output (56 lines):
Collecting setuptools
Using cached https://files.pythonhosted.org/packages/d9/de/554b6310ac87c5b921bc45634b07b11394fe63bc4cb5176f5240addf18ab/setuptools-41.6.0-py2.py3-none-any.whl
Collecting wheel
Using cached https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
Collecting pycairo
Using cached https://files.pythonhosted.org/packages/3c/1a/c0478ecab31baae50fda9956547788afbd0ca563adc52c9b03cab30f17eb/pycairo-1.18.2.tar.gz
Building wheels for collected packages: pycairo
Building wheel for pycairo (setup.py): started
Building wheel for pycairo (setup.py): finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: /home/sarah/.local/pipx/venvs/ldh-client/bin/python -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-4y0vdhx1/pycairo/setup.py’"’"’; file=’"’"’/tmp/pip-install-4y0vdhx1/pycairo/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d /tmp/pip-wheel-ee7cm6nb --python-tag cp36
cwd: /tmp/pip-install-4y0vdhx1/pycairo/
Complete output (15 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/cairo
copying cairo/init.py -> build/lib.linux-x86_64-3.6/cairo
copying cairo/init.pyi -> build/lib.linux-x86_64-3.6/cairo
copying cairo/py.typed -> build/lib.linux-x86_64-3.6/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing cairo.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo' found Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1. ---------------------------------------- ERROR: Failed building wheel for pycairo Running setup.py clean for pycairo Failed to build pycairo Installing collected packages: setuptools, wheel, pycairo Running setup.py install for pycairo: started Running setup.py install for pycairo: finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/sarah/.local/pipx/venvs/ldh-client/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4y0vdhx1/pycairo/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4y0vdhx1/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-iptgnodr/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-vdn87a4u/overlay --compile --install-headers /home/sarah/.local/pipx/venvs/ldh-client/include/site/python3.6/pycairo cwd: /tmp/pip-install-4y0vdhx1/pycairo/ Complete output (15 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/cairo copying cairo/__init__.py -> build/lib.linux-x86_64-3.6/cairo copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.6/cairo copying cairo/py.typed -> build/lib.linux-x86_64-3.6/cairo running build_ext Package cairo was not found in the pkg-config search path. Perhaps you should add the directory containing
cairo.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘cairo’ found
Command ‘[‘pkg-config’, ‘–print-errors’, ‘–exists’, ‘cairo >= 1.13.1’]’ returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: /home/sarah/.local/pipx/venvs/ldh-client/bin/python -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-4y0vdhx1/pycairo/setup.py’"’"’; file=’"’"’/tmp/pip-install-4y0vdhx1/pycairo/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record /tmp/pip-record-iptgnodr/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-vdn87a4u/overlay --compile --install-headers /home/sarah/.local/pipx/venvs/ldh-client/include/site/python3.6/pycairo Check the logs for full command output.
ERROR: Command errored out with exit status 1: /home/sarah/.local/pipx/venvs/ldh-client/bin/python /home/sarah/.local/pipx/shared/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-vdn87a4u/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.
‘/home/sarah/.local/pipx/venvs/ldh-client/bin/python -m pip install ldh-client -q’ failed
Did I miss something?
Help is much appreciated!