Skip to content

Adafruit_BBIO not installing with Python 13.1 #373

Open
@sael17

Description

@sael17

Hi! Recently I was tasked on upgrading a BeagleBone Black’s Python version from 3.9 to 3.13. I followed the steps found in this page: . Then, when I tried installing the Adafruit-BBIO API using pip install, it fails. Here is the final message I get: ERROR: Failed building wheels for some pyproject.toml based projects. I also noticed this message: I error: command 'usr/bin/gcc' failed with exit 1 I am using the following BeagleBone Build: am335x-debian-11-7-2023-08-05-4gb-emmc-iot-flasher I installed the latest OS updates and upgrades and tried the following options:

  • Linked all pip options to pip3.13

(
sudo ln -sf $(which pip3.13) /usr/bin/pip
sudo ln -sf $(which pip3.13) /usr/bin/pip3
)

  • pip3.13 install --upgrade pip setuptools wheel

  • Installing Missing System Dependencies

(sudo apt install build-essential python3.13-dev)

  • Installing from Binary Wheel instead

pip3.13 install Adafruit_BBIO --prefer-binary

  • Ignore pyproject.toml

(pip3.13 install Adafruit_BBIO --no-build-isolation)

  • Ensured GCC is installed

(sudo apt install build-essential)

I was able to install something simple like pip3.13 install requests
and when the BeagleBone was using Python 3.9 I was able to install the Adafruit BBIO API without any issues. I am just wondering if it is possible that Adafruit BBIO is not supported by Python 3.13 or I did the Python 3.13 installation incorrectly. Any help or suggestions are more than welcome!

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