Aws-iot-device-sdk-python-v2: Installationsproblem auf Raspberry Pi

Erstellt am 4. Apr. 2021  Â·  6Kommentare  Â·  Quelle: aws/aws-iot-device-sdk-python-v2

Ich habe ein Problem mit der Installation von aws-iot-device-sdk-python-v2 auf Raspberry Pi

Installieren:-
‱ Raspbian 10.9 (Buster)
‱ Pi 3 Modell B Revision 1.2
‱ Pip-Version 20.3.4
‱ Python 3.7

Bei der Installation von AWS IoT Device SDK v2 fĂŒr Python aus der Quelle sowie bei der Verwendung von PyPI trat ein Problem auf. Ich habe auch cmake und libssl-dev wie vorgeschlagen installiert. Der Fehler scheint von CMakeLists.txt:660 zu kommen. Jede Hilfe wird geschĂ€tzt.

Dies ist die Fehlermeldung:-

`Suche in Indizes: https://pypi.org/simple, https://www.piwheels.org/simple
Verarbeitung von ./aws-iot-device-sdk-python-v2
Sammeln von awscrt==0.11.4 (von awsiotsdk==1.0.0.dev0)
Verwenden von zwischengespeicherten https://files.pythonhosted.org/packages/31/3a/4914c140ec0ef203db8c7cef0e84c6eee1b54316766e77d5013af23cef12/awscrt-0.11.4.tar.gz
RĂ€der fĂŒr gesammelte Pakete bauen: awsiotsdk, awscrt
AusfĂŒhren von setup.py bdist_wheel fĂŒr awsiotsdk ... fertig
Gespeichert im Verzeichnis: /home/pi/.cache/pip/wheels/c2/c1/c8/34fc01d6902334ae9a2945b916990246499b722dfd1bfe1970
AusfĂŒhren von setup.py bdist_wheel fĂŒr awscrt ... Fehler
Komplette Ausgabe des Befehls /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-apiudahh/awscrt/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-wa6brwre --python-tag cp37:
Laufen bdist_wheel
laufender Build
AusfĂŒhren von build_py
Build erstellen
build/lib.linux-armv7l-3.7 . erstellen
build/lib.linux-armv7l-3.7/awscrt erstellen
awscrt/io.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/crypto.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/exceptions.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/__init__.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/common.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/mqtt.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/http.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/s3.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/auth.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
build/lib.linux-armv7l-3.7/awscrt/eventstream erstellen
awscrt/eventstream/__init__.py kopieren -> build/lib.linux-armv7l-3.7/awscrt/eventstream
awscrt/eventstream/rpc.py kopieren -> build/lib.linux-armv7l-3.7/awscrt/eventstream
AusfĂŒhren von build_ext
--- GebÀudeabhÀngigkeit: aws-lc (RelWithDebInfo) ---
/usr/bin/cmake -DCMAKE_PREFIX_PATH=/tmp/pip-install-apiudahh/awscrt/build/deps/install -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-apiudahh/awscrt/build/deps/install -DBUILD_BUILDTYPE_ .LIBS=OFF - =RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_LIBSSL=OFF /tmp/pip-install-apiudahh/awscrt/crt/aws-lc
-- Die C-Compiler-Identifikation ist GNU 8.3.0
-- ÜberprĂŒfen Sie, ob der C-Compiler funktioniert: /usr/bin/cc
-- ÜberprĂŒfen Sie, ob der C-Compiler funktioniert: /usr/bin/cc -- funktioniert
-- Erkennung von C-Compiler-ABI-Infos
-- C-Compiler-ABI-Informationen erkennen - fertig
-- Erkennung von C-Kompilierungsfunktionen
-- C-Kompilierungsfunktionen erkennen - fertig
-- Perl gefunden: /usr/bin/perl (gefundene Version "5.28.1")
-- Suche nach Modul 'libunwind-generic'
-- Kein Paket 'libunwind-generic' gefunden
libunwind nicht gefunden. Deaktivieren von Abwickeltests.
-- Geh nicht gefunden. Deaktivieren einiger Codegenerierung und Verwenden von vorgeneriertem Code in "generated-src/"
-- Die ASM-Compiler-Identifikation ist GNU
-- Assembler gefunden: /usr/bin/cc
CMake-Fehler bei CMakeLists.txt:660 (add_subdirectory):
add_subdirectory gegebene Quelle "util/fipstools/cavp", die keine ist
vorhandenes Verzeichnis.

CMake-Fehler bei CMakeLists.txt:661 (add_subdirectory):
add_subdirectory gegebene Quelle "util/fipstools/acvp/modulewrapper", das ist
kein vorhandenes Verzeichnis.

-- Konfiguration unvollstÀndig, Fehler aufgetreten!
Siehe auch "/tmp/pip-install-apiudahh/awscrt/build/deps/aws-lc/CMakeFiles/CMakeOutput.log".
Traceback (letzter Anruf zuletzt):
Datei "", Zeile 1, in
Datei "/tmp/pip-install-apiudahh/awscrt/setup.py", Zeile 280, in
'boto3'
Datei "/usr/lib/python3/dist-packages/setuptools/__init__.py", Zeile 145, im Setup
RĂŒckgabe distutils.core.setup(**attrs)
Datei "/usr/lib/python3.7/distutils/core.py", Zeile 148, im Setup
dist.run_commands()
Datei "/usr/lib/python3.7/distutils/dist.py", Zeile 966, in run_commands
self.run_command(cmd)
Datei "/usr/lib/python3.7/distutils/dist.py", Zeile 985, in run_command
cmd_obj.run()
Datei "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", Zeile 188, in Run
self.run_command('build')
Datei "/usr/lib/python3.7/distutils/cmd.py", Zeile 313, in run_command
self.distribution.run_command(Befehl)
Datei "/usr/lib/python3.7/distutils/dist.py", Zeile 985, in run_command
cmd_obj.run()
Datei "/usr/lib/python3.7/distutils/command/build.py", Zeile 135, in Run
self.run_command(cmd_name)
Datei "/usr/lib/python3.7/distutils/cmd.py", Zeile 313, in run_command
self.distribution.run_command(Befehl)
Datei "/usr/lib/python3.7/distutils/dist.py", Zeile 985, in run_command
cmd_obj.run()
Datei "/tmp/pip-install-apiudahh/awscrt/setup.py", Zeile 194, in Run
self._build_dependency(lib)
Datei "/tmp/pip-install-apiudahh/awscrt/setup.py", Zeile 175, in _build_dependency
subprocess.check_call(cmake_args)
Datei "/usr/lib/python3.7/subprocess.py", Zeile 347, in check_call
Raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Befehl '['/usr/bin/cmake', '-DCMAKE_PREFIX_PATH=/tmp/pip-install-apiudahh/awscrt/build/deps/install', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-apiudahhhh /awscrt/build/deps/install', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-DBUILD_LIBSSL=OFFmp', '-DBUILD_LIBSSL=OFFmp' -install-apiudahh/awscrt/crt/aws-lc']' hat den Exit-Status 1 ungleich Null zurĂŒckgegeben.


Fehler beim Baurad fĂŒr awscrt
AusfĂŒhren von setup.py clean fĂŒr awscrt
Erfolgreich gebaut awsiotsdk
Fehler beim Erstellen von awscrt
Gesammelte Pakete installieren: awscrt, awsiotsdk
AusfĂŒhren von setup.py install fĂŒr awscrt ... Fehler
Komplette Ausgabe des Befehls /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-apiudahh/awscrt/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-bnasw_9w/install-record.txt --single-version-externally-managed --compile --user --prefix=:
laufende Installation
laufender Build
AusfĂŒhren von build_py
build/lib.linux-armv7l-3.7 . erstellen
build/lib.linux-armv7l-3.7/awscrt erstellen
awscrt/io.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/crypto.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/exceptions.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/__init__.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/common.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/mqtt.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/http.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/s3.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/auth.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
build/lib.linux-armv7l-3.7/awscrt/eventstream erstellen
awscrt/eventstream/__init__.py kopieren -> build/lib.linux-armv7l-3.7/awscrt/eventstream
awscrt/eventstream/rpc.py kopieren -> build/lib.linux-armv7l-3.7/awscrt/eventstream
AusfĂŒhren von build_ext
--- GebÀudeabhÀngigkeit: aws-lc (RelWithDebInfo) ---
/usr/bin/cmake -DCMAKE_PREFIX_PATH=/tmp/pip-install-apiudahh/awscrt/build/deps/install -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-apiudahh/awscrt/build/deps/install -DBUILD_BUILDTYPE_ .LIBS=OFF - =RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_LIBSSL=OFF /tmp/pip-install-apiudahh/awscrt/crt/aws-lc
-- Suche nach Modul 'libunwind-generic'
-- Kein Paket 'libunwind-generic' gefunden
libunwind nicht gefunden. Deaktivieren von Abwickeltests.
-- Geh nicht gefunden. Deaktivieren einiger Codegenerierung und Verwenden von vorgeneriertem Code in "generated-src/"
CMake-Fehler bei CMakeLists.txt:660 (add_subdirectory):
add_subdirectory gegebene Quelle "util/fipstools/cavp", die keine ist
vorhandenes Verzeichnis.

CMake Error at CMakeLists.txt:661 (add_subdirectory):
  add_subdirectory given source "util/fipstools/acvp/modulewrapper" which is
  not an existing directory.


-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-apiudahh/awscrt/build/deps/aws-lc/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 280, in <module>
    'boto3'
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
    self.run_command('build')
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 194, in run
    self._build_dependency(lib)
  File "/tmp/pip-install-apiudahh/awscrt/setup.py", line 175, in _build_dependency
    subprocess.check_call(cmake_args)
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/cmake', '-DCMAKE_PREFIX_PATH=/tmp/pip-install-apiudahh/awscrt/build/deps/install', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-apiudahh/awscrt/build/deps/install', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-DBUILD_LIBSSL=OFF', '/tmp/pip-install-apiudahh/awscrt/crt/aws-lc']' returned non-zero exit status 1.

----------------------------------------

Befehl "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-apiudahh/awscrt/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-bnasw_9w/install-record.txt --single-version-externally-managed --compile --user --prefix=" fehlgeschlagen mit Fehlercode 1 in /tmp/pip-install-apiudahh/awscrt /

`

bug

Hilfreichster Kommentar

Dies ist ein bekanntes Problem, an dessen Behebung wir derzeit arbeiten. Ich werde Sie hier aktualisieren, wenn der Fix angewendet wird.

Alle 6 Kommentare

Ich habe das gleiche Problem mit meinem Himbeer-Pi

Gleiches gilt fĂŒr mich mit dieser Dokumentation https://docs.aws.amazon.com/iot/latest/developerguide/connecting-to-existing-device.html#gs -device-sdk-tools
Pi 4 2 GB-Version

Versuchte Installation und bekam diesen Fehler:

pi<strong i="6">@raspberrypi</strong>:~ $ uname -a
Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux

`pi @raspberrypi :~ $ python3 -m pip install --no-cache-dir awsiotsdk
Standardeinstellung auf Benutzerinstallation, da normale Site-Pakete nicht beschreibbar sind
Suche in Indizes: https://pypi.org/simple, https://www.piwheels.org/simple
Sammeln von awsiotsdk
Herunterladen https://www.piwheels.org/simple/awsiotsdk/awsiotsdk-1.5.10-py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 1,3 MB/s
Sammeln von awscrt==0.11.4
awscrt-0.11.4.tar.gz wird heruntergeladen (29,0 MB)
|████████████████████████████████| 29,0 MB 11,5 MB/s
RĂ€der fĂŒr gesammelte Pakete bauen: awscrt
Baurad fĂŒr awscrt (setup.py) ... Fehler
FEHLER: Befehl fehlgeschlagen mit Exit-Status 1:
Befehl: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/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-rbhe6u2e
cwd: /tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/
Gesamtausgabe (78 Zeilen):
Laufen bdist_wheel
laufender Build
AusfĂŒhren von build_py
Build erstellen
build/lib.linux-armv7l-3.7 . erstellen
build/lib.linux-armv7l-3.7/awscrt erstellen
awscrt/http.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/io.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/__init__.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/crypto.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/mqtt.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/common.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/exceptions.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/auth.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/s3.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
build/lib.linux-armv7l-3.7/awscrt/eventstream erstellen
awscrt/eventstream/__init__.py kopieren -> build/lib.linux-armv7l-3.7/awscrt/eventstream
awscrt/eventstream/rpc.py kopieren -> build/lib.linux-armv7l-3.7/awscrt/eventstream
AusfĂŒhren von build_ext
--- GebÀudeabhÀngigkeit: aws-lc (RelWithDebInfo) ---
/ Usr / bin / cmake -DCMAKE_PREFIX_PATH = / tmp / Pip-install-_qge_j7_ / awscrt_5831c6121e1245d9bb1d2dcd83a61a83 / build / deps / install -DCMAKE_INSTALL_PREFIX = / tmp / Pip-install-_qge_j7_ / awscrt_5831c6121e1245d9bb1d2dcd83a61a83 / build / deps / install -DBUILD_SHARED_LIBS = OFF -DCMAKE_BUILD_TYPE =RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_LIBSSL=OFF /tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/crt/aws-lc
-- Die C-Compiler-Identifikation ist GNU 8.3.0
-- ÜberprĂŒfen Sie, ob der C-Compiler funktioniert: /usr/bin/cc
-- ÜberprĂŒfen Sie, ob der C-Compiler funktioniert: /usr/bin/cc -- funktioniert
-- Erkennung von C-Compiler-ABI-Infos
-- C-Compiler-ABI-Informationen erkennen - fertig
-- Erkennung von C-Kompilierungsfunktionen
-- C-Kompilierungsfunktionen erkennen - fertig
-- Perl gefunden: /usr/bin/perl (gefundene Version "5.28.1")
-- Suche nach Modul 'libunwind-generic'
-- Kein Paket 'libunwind-generic' gefunden
libunwind nicht gefunden. Deaktivieren von Abwickeltests.
-- Geh nicht gefunden. Deaktivieren einiger Codegenerierung und Verwenden von vorgeneriertem Code in "generated-src/"
-- Die ASM-Compiler-Identifikation ist GNU
-- Assembler gefunden: /usr/bin/cc
CMake-Fehler bei CMakeLists. txt:660 (add_subdirectory):
add_subdirectory gegebene Quelle "util/fipstools/cavp", die keine ist
vorhandenes Verzeichnis.

CMake-Fehler bei CMakeLists. txt:661 (add_subdirectory):
add_subdirectory gegebene Quelle "util/fipstools/acvp/modulewrapper", das ist
kein vorhandenes Verzeichnis.

-- Konfiguration unvollstÀndig, Fehler aufgetreten!
Siehe auch "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/aws-lc/CMakeFiles/CMakeOutput.log".
Traceback (letzter Anruf zuletzt):
Datei "", Zeile 1, in
Datei "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", Zeile 280, in
'boto3'
Datei "/home/pi/.local/lib/python3.7/site-packages/setuptools/__init__.py", Zeile 153, im Setup
RĂŒckgabe distutils.core.setup(**attrs)
Datei "/usr/lib/python3.7/distutils/core.py", Zeile 148, im Setup
dist.run_commands()
Datei "/usr/lib/python3.7/distutils/dist.py", Zeile 966, in run_commands
self.run_command(cmd)
Datei "/usr/lib/python3.7/distutils/dist.py", Zeile 985, in run_command
cmd_obj.run()
Datei "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", Zeile 188, in Run
self.run_command('build')
Datei "/usr/lib/python3.7/distutils/cmd.py", Zeile 313, in run_command
self.distribution.run_command(Befehl)
Datei "/usr/lib/python3.7/distutils/dist.py", Zeile 985, in run_command
cmd_obj.run()
Datei "/usr/lib/python3.7/distutils/command/build.py", Zeile 135, in Run
self.run_command(cmd_name)
Datei "/usr/lib/python3.7/distutils/cmd.py", Zeile 313, in run_command
self.distribution.run_command(Befehl)
Datei "/usr/lib/python3.7/distutils/dist.py", Zeile 985, in run_command
cmd_obj.run()
Datei "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", Zeile 194, in AusfĂŒhrung
self._build_dependency(lib)
Datei "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", Zeile 175, in _build_dependency
subprocess.check_call(cmake_args)
Datei "/usr/lib/python3.7/subprocess.py", Zeile 347, in check_call
Raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Befehl '['/usr/bin/cmake', '-DCMAKE_PREFIX_PATH=/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install'_IXgeqp/install', '-'- /awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE',OFFt-CODEB -install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/crt/aws-lc']' hat den Exit-Status 1 ungleich Null zurĂŒckgegeben.


FEHLER: Fehler beim Baurad fĂŒr awscrt
AusfĂŒhren von setup.py clean fĂŒr awscrt
Fehler beim Erstellen von awscrt
Gesammelte Pakete installieren: awscrt, awsiotsdk
Versuch der Deinstallation: awscrt
Vorhandene Installation gefunden: awscrt 1.0.0.dev0
Deinstallieren von awscrt-1.0.0.dev0:
awscrt-1.0.0.dev0 erfolgreich deinstalliert
AusfĂŒhren von setup.py install fĂŒr awscrt ... Fehler
FEHLER: Befehl fehlgeschlagen mit Exit-Status 1:
Befehl: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/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-bhyvnybv/install-record.txt --single-version-externally-managed --user -- prefix= --compile --install-headers /home/pi/.local/include/python3.7m/awscrt
cwd: /tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/
Gesamtausgabe (69 Zeilen):
laufende Installation
laufender Build
AusfĂŒhren von build_py
build/lib.linux-armv7l-3.7 . erstellen
build/lib.linux-armv7l-3.7/awscrt erstellen
awscrt/http.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/io.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/__init__.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/crypto.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/mqtt.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/common.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/exceptions.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/auth.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
awscrt/s3.py kopieren -> build/lib.linux-armv7l-3.7/awscrt
build/lib.linux-armv7l-3.7/awscrt/eventstream erstellen
awscrt/eventstream/__init__.py kopieren -> build/lib.linux-armv7l-3.7/awscrt/eventstream
awscrt/eventstream/rpc.py kopieren -> build/lib.linux-armv7l-3.7/awscrt/eventstream
AusfĂŒhren von build_ext
--- GebÀudeabhÀngigkeit: aws-lc (RelWithDebInfo) ---
/ Usr / bin / cmake -DCMAKE_PREFIX_PATH = / tmp / Pip-install-_qge_j7_ / awscrt_5831c6121e1245d9bb1d2dcd83a61a83 / build / deps / install -DCMAKE_INSTALL_PREFIX = / tmp / Pip-install-_qge_j7_ / awscrt_5831c6121e1245d9bb1d2dcd83a61a83 / build / deps / install -DBUILD_SHARED_LIBS = OFF -DCMAKE_BUILD_TYPE =RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_LIBSSL=OFF /tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/crt/aws-lc
-- Suche nach Modul 'libunwind-generic'
-- Kein Paket 'libunwind-generic' gefunden
libunwind nicht gefunden. Deaktivieren von Abwickeltests.
-- Geh nicht gefunden. Deaktivieren einiger Codegenerierung und Verwenden von vorgeneriertem Code in "generated-src/"
CMake-Fehler bei CMakeLists. txt:660 (add_subdirectory):
add_subdirectory gegebene Quelle "util/fipstools/cavp", die keine ist
vorhandenes Verzeichnis.

CMake Error at CMakeLists.txt:661 (add_subdirectory):
  add_subdirectory given source "util/fipstools/acvp/modulewrapper" which is
  not an existing directory.


-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/aws-lc/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 280, in <module>
    'boto3'
  File "/home/pi/.local/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/pi/.local/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
    self.run_command('build')
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 194, in run
    self._build_dependency(lib)
  File "/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py", line 175, in _build_dependency
    subprocess.check_call(cmake_args)
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/cmake', '-DCMAKE_PREFIX_PATH=/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install', '-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/build/deps/install', '-DBUILD_SHARED_LIBS=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DBUILD_TESTING=OFF', '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', '-DBUILD_LIBSSL=OFF', '/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/crt/aws-lc']' returned non-zero exit status 1.
----------------------------------------

Rollback der Deinstallation von awscrt
Umzug nach /home/pi/.local/lib/python3.7/site-packages/_awscrt.cpython-37m-arm-linux-gnueabihf.so
from /tmp/pip-uninstall-2bh69c8z/_awscrt.cpython-37m-arm-linux-gnueabihf.so
Umzug nach /home/pi/.local/lib/python3.7/site-packages/awscrt-1.0.0.dev0.dist-info/
aus /home/pi/.local/lib/python3.7/site-packages/~wscrt-1.0.0.dev0.dist-info
Umzug nach /home/pi/.local/lib/python3.7/site-packages/awscrt/
aus /home/pi/.local/lib/python3.7/site-packages/~wscrt
FEHLER: Befehl fehlgeschlagen mit Exit-Status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_qge_j7_/awscrt_5831c6121e1245d9bb1d2dcd83a61a83/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-bhyvnybv/install-record.txt --single-version-externally-managed --user -- prefix= --compile --install-headers /home/pi/.local/include/python3.7m/awscrt ÜberprĂŒfen Sie die Protokolle auf die vollstĂ€ndige Befehlsausgabe.`

Dies ist ein bekanntes Problem, an dessen Behebung wir derzeit arbeiten. Ich werde Sie hier aktualisieren, wenn der Fix angewendet wird.

Dies ist in der neuesten Version 1.5.11 behoben

⚠KOMMENTAR-SICHTBARKEIT-WARNUNG⚠

Kommentare zu geschlossenen Issues sind fĂŒr unser Team schwer zu sehen.
Wenn Sie weitere Hilfe benötigen, markieren Sie entweder ein Teammitglied oder öffnen Sie ein neues Problem, das auf dieses verweist.
Wenn Sie sich weiterhin mit anderen Community-Mitgliedern zu diesem Thema unterhalten möchten, können Sie dies gerne tun.

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen