It just worked for me; Pi 4B 1GB, Raspberry Pi OS Bookworm with Desktop, 64-bit kernel, 32-bit userland, virtual environment created, configured and enabled by following Raspberry Pi guidelines -On a Pi 5 running Bookworm 64-bit, I created a venv (without system packages) activated it and installed paho-mqtt via pip. However, pip install bluepy failed "...Running setup.py install for bluepy did not run successfully...."
So how did you install it?
Code:
pi@Pi4B:~ $ pip install bluepyLooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simpleCollecting bluepy Downloading https://www.piwheels.org/simple/bluepy/bluepy-1.3.0-cp311-cp311-linux_armv7l.whl (537 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 537.9/537.9 kB 4.1 MB/s eta 0:00:00Installing collected packages: bluepySuccessfully installed bluepy-1.3.0
Code:
pi@Pi4B:~ $ pip install paho-mqttLooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simpleCollecting paho-mqtt Downloading https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-1.6.1-py3-none-any.whl (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.6/75.6 kB 1.7 MB/s eta 0:00:00Installing collected packages: paho-mqttSuccessfully installed paho-mqtt-1.6.1
Code:
pi@Pi4B:~ $ pythonPython 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import bluepy>>> import paho>>>
Statistics: Posted by hippy — Tue Feb 06, 2024 7:00 pm