Skip to content
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

Adafruit_BBIO not installing with Python 13.1 #373

Open
sael17 opened this issue Jan 29, 2025 · 0 comments
Open

Adafruit_BBIO not installing with Python 13.1 #373

sael17 opened this issue Jan 29, 2025 · 0 comments

Comments

@sael17
Copy link

sael17 commented Jan 29, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant