Skip to content

pip install azure-iot-hub succeeds, but 'iot' folder does not exist #13

@TiboVZ-r

Description

@TiboVZ-r

On a Beaglebone Black, I want to run some python code making use of this package.
The device is on Debian 11. Using python 3.9
Virtual environment is selected with source activate.

After running pip install azure-iot-hub or pip3 ..., the install process looks as normal.
Yet python code fails to run when trying to import the modules from azure.iot.hub.

When taking a look at venv/lib/pyhton3.9/site-packages/azure, "iot" folder does not exist.
After searching online, it popped up several times. People suggested to build the wheel locally.
This is not a good idea since the beaglebone has really limited hardware.

We can download the "wheel" on pypi.
When I do pip install ...whl, it gives the same behaviour.

Yet when I just unzip and copy the 'iot' folder to venv/lib/pyhton3.9/site-packages/azure/, everything works as expected.
This is not a good way since it requires manual action and is hard to automate in pipelines. (in comparison to requirements file)

Is this expected behavior for armv7? Should this work or is just doing "pip3 install azure-iot-hub" wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions