-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi i have a problem when i install azure-iot-hub in my rasberry pi 5 command sudo pip install azure-iot-hub #1177
Comments
azure-iot-hub is no longer maintained here by us. You can find it here: |
Tell me the instructions to install azure iot hub from that link : https://github.com/Azure/azure-iot-hub-python/ |
i still i have error uamq , riadhhasnaoui@raspberrypi:~ $ pip3 install "git+https://github.com/Azure/azure-iot-hub-python.git" × Building wheel for uamqp (pyproject.toml) did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. |
You will need to ask the maintainers of that repository that I linked, we do not maintain that SDK here. I have notified them on my end that you are experiencing the issue, but please open a GitHub issue on their repository, not this one. |
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting azure-iot-hub
Using cached https://www.piwheels.org/simple/azure-iot-hub/azure_iot_hub-2.6.1-py2.py3-none-any.whl (2.7 kB)
Collecting msrest<1.0.0,>=0.6.21
Using cached https://www.piwheels.org/simple/msrest/msrest-0.7.1-py3-none-any.whl (84 kB)
Collecting uamqp<2.0.0,>=1.2.14
Using cached uamqp-1.6.8.tar.gz (4.5 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting azure-core<2.0.0,>=1.10.0
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/azure-core/azure_core-1.30.1-py3-none-any.whl
Using cached https://www.piwheels.org/simple/azure-core/azure_core-1.30.1-py3-none-any.whl (193 kB)
Requirement already satisfied: requests>=2.21.0 in /usr/lib/python3/dist-packages (from azure-core<2.0.0,>=1.10.0->azure-iot-hub) (2.28.1)
Requirement already satisfied: six>=1.11.0 in /usr/lib/python3/dist-packages (from azure-core<2.0.0,>=1.10.0->azure-iot-hub) (1.16.0)
Collecting typing-extensions>=4.6.0
Using cached https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.10.0-py3-none-any.whl (33 kB)
Requirement already satisfied: requests-oauthlib>=0.5.0 in /usr/lib/python3/dist-packages (from msrest<1.0.0,>=0.6.21->azure-iot-hub) (1.3.0)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/isodate/
Collecting isodate>=0.6.0
Using cached https://www.piwheels.org/simple/isodate/isodate-0.6.1-py2.py3-none-any.whl (45 kB)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from msrest<1.0.0,>=0.6.21->azure-iot-hub) (2022.9.24)
Building wheels for collected packages: uamqp
Building wheel for uamqp (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for uamqp (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [157 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-311
creating build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/init.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/utils.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/sender.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/mgmt_operation.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/address.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/compat.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/connection.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/errors.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/types.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/client.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/constants.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/session.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/receiver.py -> build/lib.linux-aarch64-cpython-311/uamqp
copying uamqp/message.py -> build/lib.linux-aarch64-cpython-311/uamqp
creating build/lib.linux-aarch64-cpython-311/uamqp/authentication
copying uamqp/authentication/init.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication
copying uamqp/authentication/cbs_auth_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication
copying uamqp/authentication/common.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication
copying uamqp/authentication/cbs_auth.py -> build/lib.linux-aarch64-cpython-311/uamqp/authentication
creating build/lib.linux-aarch64-cpython-311/uamqp/async_ops
copying uamqp/async_ops/init.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops
copying uamqp/async_ops/mgmt_operation_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops
copying uamqp/async_ops/utils.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops
copying uamqp/async_ops/sender_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops
copying uamqp/async_ops/client_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops
copying uamqp/async_ops/connection_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops
copying uamqp/async_ops/session_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops
copying uamqp/async_ops/receiver_async.py -> build/lib.linux-aarch64-cpython-311/uamqp/async_ops
running egg_info
writing uamqp.egg-info/PKG-INFO
writing dependency_links to uamqp.egg-info/dependency_links.txt
writing requirements to uamqp.egg-info/requires.txt
writing top-level names to uamqp.egg-info/top_level.txt
reading manifest file 'uamqp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'uamqp.egg-info/SOURCES.txt'
copying uamqp/c_uamqp.c -> build/lib.linux-aarch64-cpython-311/uamqp
running build_ext
will build uamqp in build/temp.linux-aarch64-cpython-311/cmake
Building with generator flags: -G "Unix Makefiles"
calling cmake /tmp/pip-install-lucf48ke/uamqp_d7a66006460a49c8894d6cdc10d5aba5/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON -Duse_builtin_httpapi:bool=ON -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at deps/azure-macro-utils-c/CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for uamqp
Failed to build uamqp
ERROR: Could not build wheels for uamqp, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered: