Closed mr-manuel closed 1 year ago
I was going to suggest using pywheels but it looks like you are using Python 3.8.
You can set the SKIP_CYTHON
environment variable to skip compiling.
Thank you for your fast answer. Unfortunately we are restricted to python 3.8 at the moment (Venus OS by Victron Energy).
I execute export SKIP_CYTHON=false
in our bash install script before pip3 install dbus-fast
and now it works great. Thank you!
Unfortunately it did not work after trying to install different versions (> v1.87.0
). At the step
building 'dbus_fast.message_bus' extension
arm-ve-linux-gnueabi-gcc -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map== -fdebug-prefix-map== -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map== -fdebug-prefix-map== -fPIC -I/usr/include/python3.8 -c src/dbus_fast/message_bus.c -o /var/volatile/tmp/pip-install-bfgr1_wa/dbus-fast/build/temp.linux-armv7l-cpython-38/src/dbus_fast/message_bus.o
The memory usage rise until all memory is consumed, the system load rises from constant 1.67
to 4.34
and then very fast up to 10
and beyond until the system crashed and restarts.
In this test we are using a Raspberry Pi 2 with Venus OS v3.10~32
(Linux raspberrypi2 5.10.110-rpi-venus-4 #1 SMP Thu Aug 24 15:17:34 UTC 2023 armv7l GNU/Linux
)
Install command
export SKIP_CYTHON= && pip3 install -v dbus-fast==1.87.3
I set the environment variable wrong... :-)
Describe the bug On weaker systems like a Nano Pi or Raspberry Pi 2 it happens very often that the system crashes and reboots after running the command
pip3 install dbus-fast
at the stepBuilding wheel for dbus-fast (PEP 517) ... -
. Is there any way to reduce the load while building the wheel?To Reproduce Try to install different versions of dbus-fast on weak systems with ARM architecture.
Additional context
install command
CPU load