Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Metawear pip module configured for any platform but libmetawear.so built for linux 32-bit #21

Description

@ribbles

The metawear pip package targets any platform, yet within the package is libmetawear.so, which targets Linux x86 32bit platform. Thus on a 64-bit Linux distro I get the error:

OSError: /usr/local/lib/python3.7/dist-packages/mbientlab/metawear/libmetawear.so: wrong ELF class: ELFCLASS32

Additional information:

pip3 install metawear warble
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting metawear
  Using cached https://www.piwheels.org/simple/metawear/metawear-1.0.2-py3-none-any.whl (242 kB)
Collecting warble
  Using cached warble-1.2.6-py3-none-any.whl
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from metawear) (2.25.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->metawear) (2020.12.5)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->metawear) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->metawear) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->metawear) (1.26.3)
Installing collected packages: warble, metawear
Successfully installed metawear-1.0.2 warble-1.2.6
WARNING: You are using pip version 21.0.1; however, version 21.3 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
# file /usr/local/lib/python3.7/dist-packages/mbientlab/metawear/libmetawear.so
/usr/local/lib/python3.7/dist-packages/mbientlab/metawear/libmetawear.so: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=1324e46b2db0e506ecaba87f0d0ac6c3deb3724d, stripped

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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