Beim Versuch in Yunohost PyInventory zu installieren gelingt das NICHT und meldet:
Es handelt sich um das Raspie Image von Yunohost, was sich beim uname -a mit Version 5.10.11-v7+ meldet.
2021-08-13 12:37:49,598: DEBUG - Collecting pprintpp==0.4.0
2021-08-13 12:37:49,599: DEBUG - Downloading https://www.piwheels.org/simple/pprintpp/pprintpp-0.4.0-py2.py3-none-any.whl (16 kB)
2021-08-13 12:37:50,803: DEBUG - Collecting psycopg2-binary==2.8.6
2021-08-13 12:37:50,804: DEBUG - Downloading psycopg2-binary-2.8.6.tar.gz (384 kB)
2021-08-13 12:37:53,919: WARNING - ERROR: Command errored out with exit status 1:
2021-08-13 12:37:53,921: WARNING - command: /opt/yunohost/pyinventory/venv/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m_ob8ost/psycopg2-binary_022b8851b99c42a28df0fff41c2307e1/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m_ob8ost/psycopg2-binary_022b8851b99c42a28df0fff41c2307e1/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-kzg4oj62
2021-08-13 12:37:53,924: WARNING - cwd: /tmp/pip-install-m_ob8ost/psycopg2-binary_022b8851b99c42a28df0fff41c2307e1/
2021-08-13 12:37:53,927: WARNING - Complete output (7 lines):
2021-08-13 12:37:53,929: WARNING - running egg_info
2021-08-13 12:37:53,931: WARNING - creating /tmp/pip-pip-egg-info-kzg4oj62/psycopg2_binary.egg-info
2021-08-13 12:37:53,933: WARNING - writing /tmp/pip-pip-egg-info-kzg4oj62/psycopg2_binary.egg-info/PKG-INFO
2021-08-13 12:37:53,936: WARNING - writing dependency_links to /tmp/pip-pip-egg-info-kzg4oj62/psycopg2_binary.egg-info/dependency_links.txt
2021-08-13 12:37:53,938: WARNING - writing top-level names to /tmp/pip-pip-egg-info-kzg4oj62/psycopg2_binary.egg-info/top_level.txt
2021-08-13 12:37:53,940: WARNING - writing manifest file '/tmp/pip-pip-egg-info-kzg4oj62/psycopg2_binary.egg-info/SOURCES.txt'
2021-08-13 12:37:53,943: WARNING - Error: b'You need to install postgresql-server-dev-NN for building a server-side extension or libpq-dev for building a client-side application.\n'
2021-08-13 12:37:53,945: WARNING - ----------------------------------------
2021-08-13 12:37:53,948: WARNING - WARNING: Discarding https://files.pythonhosted.org/packages/fc/51/0f2c6aec5c59e5640f507b59567f63b9d73a9317898810b4db311da32dfc/psycopg2-binary-2.8.6.tar.gz#sha256=11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0 (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
2021-08-13 12:37:53,950: WARNING - ERROR: Could not find a version that satisfies the requirement psycopg2-binary==2.8.6 (from versions: 2.7.4, 2.7.5, 2.7.6, 2.7.6.1, 2.7.7, 2.8, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.9, 2.9.1)
2021-08-13 12:37:53,953: WARNING - ERROR: No matching distribution found for psycopg2-binary==2.8.6
Alles anzeigen
OK, danach habe ich Yunohost aktualisiert und nochmal probiert, mit gleichem Ergebnis:
2021-08-13 13:44:58,643: WARNING - command: /opt/yunohost/pyinventory/venv/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sk3roef8/psycopg2-binary_3f20a527812f4f1db0dc2a60feb430f2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sk3roef8/psycopg2-binary_3f20a527812f4f1db0dc2a60feb430f2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-54g32kh8
2021-08-13 13:44:58,645: WARNING - cwd: /tmp/pip-install-sk3roef8/psycopg2-binary_3f20a527812f4f1db0dc2a60feb430f2/
2021-08-13 13:44:58,647: WARNING - Complete output (7 lines):
2021-08-13 13:44:58,649: WARNING - running egg_info
2021-08-13 13:44:58,650: WARNING - creating /tmp/pip-pip-egg-info-54g32kh8/psycopg2_binary.egg-info
2021-08-13 13:44:58,652: WARNING - writing /tmp/pip-pip-egg-info-54g32kh8/psycopg2_binary.egg-info/PKG-INFO
2021-08-13 13:44:58,654: WARNING - writing dependency_links to /tmp/pip-pip-egg-info-54g32kh8/psycopg2_binary.egg-info/dependency_links.txt
2021-08-13 13:44:58,656: WARNING - writing top-level names to /tmp/pip-pip-egg-info-54g32kh8/psycopg2_binary.egg-info/top_level.txt
2021-08-13 13:44:58,658: WARNING - writing manifest file '/tmp/pip-pip-egg-info-54g32kh8/psycopg2_binary.egg-info/SOURCES.txt'
2021-08-13 13:44:58,659: WARNING - Error: b'You need to install postgresql-server-dev-NN for building a server-side extension or libpq-dev for building a client-side application.\n'
2021-08-13 13:44:58,661: WARNING - ----------------------------------------
2021-08-13 13:44:58,663: WARNING - WARNING: Discarding https://files.pythonhosted.org/packages/fc/51/0f2c6aec5c59e5640f507b59567f63b9d73a9317898810b4db311da32dfc/psycopg2-binary-2.8.6.tar.gz#sha256=11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0 (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
2021-08-13 13:44:58,665: WARNING - ERROR: Could not find a version that satisfies the requirement psycopg2-binary==2.8.6 (from versions: 2.7.4, 2.7.5, 2.7.6, 2.7.6.1, 2.7.7, 2.8, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.9, 2.9.1)
2021-08-13 13:44:58,667: WARNING - ERROR: No matching distribution found for psycopg2-binary==2.8.6
2021-08-13 13:45:02,192: DEBUG - + ynh_exit_properly
2021-08-13 13:45:02,194: DEBUG - + local exit_code=1
2021-08-13 13:45:02,195: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-08-13 13:45:02,197: DEBUG - + '[' 1 -eq 0 ']'
2021-08-13 13:45:02,198: DEBUG - + trap '' EXIT
2021-08-13 13:45:02,198: DEBUG - + set +o errexit
2021-08-13 13:45:02,199: DEBUG - + set +o nounset
2021-08-13 13:45:02,200: DEBUG - + sleep 0.5
2021-08-13 13:45:02,701: DEBUG - + type -t ynh_clean_setup
2021-08-13 13:45:02,702: DEBUG - + exit 1
2021-08-13 13:45:03,707: ERROR - Installation von pyinventory fehlgeschlagen: Im Installationsscript ist ein Fehler aufgetreten
Alles anzeigen
Da das yunohost eine eigene Installationsoberfläche anbietet und man da nur die Applikation auswählen und installieren lassen kann, was tun?