-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I'm getting this failure when trying to install on a fresh build of Raspberry Pi OS, which to my surprise is now Debian Trixie. Looks like it was released only 10 days ago, so I am going to roll back to Bookworm and revisit when there's been time for the developers to even react to the new release. :)
This is the full output of the command:
(i2c-mqtt) root@RPi-4B-RV-HA-2:/home/homeassistant/i2c-mqtt# pip install adafruit-circuitpython-ina219 adafruit-circuitpython-ahtx0 paho-mqtt
Collecting adafruit-circuitpython-ina219
Downloading adafruit_circuitpython_ina219-3.4.29-py3-none-any.whl.metadata (3.7 kB)
Collecting adafruit-circuitpython-ahtx0
Downloading adafruit_circuitpython_ahtx0-1.0.27-py3-none-any.whl.metadata (3.9 kB)
Collecting paho-mqtt
Downloading paho_mqtt-2.1.0-py3-none-any.whl.metadata (23 kB)
Collecting Adafruit-Blinka (from adafruit-circuitpython-ina219)
Downloading adafruit_blinka-8.66.2-py3-none-any.whl.metadata (5.8 kB)
Collecting adafruit-circuitpython-register (from adafruit-circuitpython-ina219)
Downloading adafruit_circuitpython_register-1.11.0-py3-none-any.whl.metadata (9.4 kB)
Collecting adafruit-circuitpython-busdevice (from adafruit-circuitpython-ina219)
Downloading adafruit_circuitpython_busdevice-5.2.13-py3-none-any.whl.metadata (4.1 kB)
Collecting Adafruit-PlatformDetect>=3.70.1 (from Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading adafruit_platformdetect-3.84.0-py3-none-any.whl.metadata (3.8 kB)
Collecting Adafruit-PureIO>=1.1.7 (from Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading Adafruit_PureIO-1.1.11-py3-none-any.whl.metadata (3.0 kB)
Collecting binho-host-adapter>=0.1.6 (from Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading binho_host_adapter-0.1.6-py3-none-any.whl.metadata (2.0 kB)
Collecting pyftdi>=0.40.0 (from Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading pyftdi-0.57.1-py3-none-any.whl.metadata (3.5 kB)
Collecting adafruit-circuitpython-typing (from Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading adafruit_circuitpython_typing-1.12.2-py3-none-any.whl.metadata (3.3 kB)
Collecting sysv_ipc>=1.1.0 (from Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading sysv_ipc-1.1.0.tar.gz (99 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pyserial (from binho-host-adapter>=0.1.6->Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Collecting pyusb!=1.2.0,>=1.0.0 (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading pyusb-1.3.1-py3-none-any.whl.metadata (2.5 kB)
Collecting typing-extensions~=4.0 (from adafruit-circuitpython-register->adafruit-circuitpython-ina219)
Downloading typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB)
Collecting adafruit-circuitpython-requests (from adafruit-circuitpython-typing->Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading adafruit_circuitpython_requests-4.1.13-py3-none-any.whl.metadata (3.6 kB)
Collecting Adafruit-Circuitpython-ConnectionManager (from adafruit-circuitpython-requests->adafruit-circuitpython-typing->Adafruit-Blinka->adafruit-circuitpython-ina219)
Downloading adafruit_circuitpython_connectionmanager-3.1.5-py3-none-any.whl.metadata (4.6 kB)
Downloading adafruit_circuitpython_ina219-3.4.29-py3-none-any.whl (7.8 kB)
Downloading adafruit_circuitpython_ahtx0-1.0.27-py3-none-any.whl (5.6 kB)
Downloading paho_mqtt-2.1.0-py3-none-any.whl (67 kB)
Downloading adafruit_blinka-8.66.2-py3-none-any.whl (399 kB)
Downloading adafruit_platformdetect-3.84.0-py3-none-any.whl (26 kB)
Downloading Adafruit_PureIO-1.1.11-py3-none-any.whl (10 kB)
Downloading binho_host_adapter-0.1.6-py3-none-any.whl (10 kB)
Downloading pyftdi-0.57.1-py3-none-any.whl (146 kB)
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
Downloading pyusb-1.3.1-py3-none-any.whl (58 kB)
Downloading adafruit_circuitpython_busdevice-5.2.13-py3-none-any.whl (7.5 kB)
Downloading adafruit_circuitpython_register-1.11.0-py3-none-any.whl (19 kB)
Downloading adafruit_circuitpython_typing-1.12.2-py3-none-any.whl (11 kB)
Downloading typing_extensions-4.15.0-py3-none-any.whl (44 kB)
Downloading adafruit_circuitpython_requests-4.1.13-py3-none-any.whl (10 kB)
Downloading adafruit_circuitpython_connectionmanager-3.1.5-py3-none-any.whl (7.8 kB)
Building wheels for collected packages: sysv_ipc
Building wheel for sysv_ipc (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for sysv_ipc (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
/tmp/pip-build-env-a3a62wxz/overlay/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: BSD License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
******************************************************************************
* Setup can't determine the value of PAGE_SIZE on your system, so it will
* default to 4096 which may not be correct.
*
* Please report this message and your operating system info to the package
* maintainer listed in the README file.
******************************************************************************
running bdist_wheel
running build
running build_ext
building 'sysv_ipc' extension
creating build/temp.linux-aarch64-cpython-313
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -I/home/homeassistant/i2c-mqtt/include -I/usr/include/python3.13 -c common.c -o build/temp.linux-aarch64-cpython-313/common.o
common.c:2:10: fatal error: Python.h: No such file or directory
2 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for sysv_ipc
Failed to build sysv_ipc
ERROR: Failed to build installable wheels for some pyproject.toml based projects (sysv_ipc)
Let me know if you'd like me to post the same on the AHTx0 repo as well. I tried installing each package separately and got the same results for INA219 and AHTx0.
EDIT Additional info:
mchester@RPi-4B-RV-HA-2:~ $ cat /etc/issue
Debian GNU/Linux 13 \n \l
mchester@RPi-4B-RV-HA-2:~ $ uname -a
Linux RPi-4B-RV-HA-2 6.12.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux
config.txt
----------
arm_64bit=1
arm_boost=1
arm_freq=1800
audio_pwm_mode=514
auto_initramfs=1
camera_auto_detect=1
config_hdmi_boost=5
core_freq=500
core_freq_min=200
disable_commandline_tags=2
disable_fw_kms_setup=1
disable_l2cache=1
disable_overscan=1
display_auto_detect=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dvfs=3
enable_gic=1
enable_uart=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=250
init_uart_clock=0x2dc6c00
initial_turbo=60
lcd_framerate=60
mask_gpu_interrupt0=3072
mask_gpu_interrupt1=25635
max_framebuffers=2
over_voltage_avs=-30000
pause_burst_frames=1
pciex4_reset=1
pmic_turbo_threshold=600
program_serial_random=1
total_mem=2048
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=
cmdline.txt
-----------
coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 cgroup_disable=memory numa_policy=interleave nvme.max_host_mem_size_mb=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 numa=fake=1 system_heap.max_order=0 smsc95xx.macaddr=E4:5F:01:7B:F4:C7 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=ecd75f3a-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=US
EEPROM
------
BOOTLOADER: up to date
CURRENT: Wed Aug 27 06:57:12 PM UTC 2025 (1756321032)
LATEST: Wed Aug 27 06:57:12 PM UTC 2025 (1756321032)
RELEASE: latest (/usr/lib/firmware/raspberrypi/bootloader-2711/latest)
Use raspi-config to change the release.
VL805_FW: Using bootloader EEPROM
VL805: up to date
CURRENT: 000138c0
LATEST: 000138c0
Metadata
Metadata
Assignees
Labels
No labels