I would like to run the dragonradio tool drgui.py. So, I have to install the dragonradio tools. The installation shell script stops before completion and issues an error message.
Steps to reproduce:
On a new lxc container with dragonradio installed run:
cd /root/dragonradio/tools
./install.sh
It will run and give you the message:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
run:
apt-get update
./install.sh
This will result in the below error message:
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /root/dragonradio/tools/env/bin/python /root/dragonradio/tools/env/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-4hh76cni/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo
cwd: None
Complete output (35 lines):
Collecting setuptools
Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
Collecting wheel
Downloading wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting pycairo
Downloading pycairo-1.20.0.tar.gz (344 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Building wheels for collected packages: pycairo
Building wheel for pycairo (PEP 517): started
Building wheel for pycairo (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /root/dragonradio/tools/env/bin/python /root/dragonradio/tools/env/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpyksleqkc
cwd: /tmp/pip-install-vz25jb86/pycairo
Complete output (12 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cairo
copying cairo/__init__.py -> build/lib.linux-x86_64-3.8/cairo
copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.8/cairo
copying cairo/py.typed -> build/lib.linux-x86_64-3.8/cairo
running build_ext
Requested 'cairo >= 1.15.10' but version of cairo is 1.14.6
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for pycairo
Failed to build pycairo
ERROR: Could not build wheels for pycairo which use PEP 517 and cannot be installed directly
----------------------------------------
ERROR: Command errored out with exit status 1: /root/dragonradio/tools/env/bin/python /root/dragonradio/tools/env/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-4hh76cni/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.
From @OdayBshara:
I would like to run the dragonradio tool drgui.py. So, I have to install the dragonradio tools. The installation shell script stops before completion and issues an error message.
Steps to reproduce:
On a new lxc container with dragonradio installed run:
cd /root/dragonradio/tools
./install.sh
It will run and give you the message:
run:
apt-get update
./install.sh
This will result in the below error message: