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

Raspberry Pi Zero W #6

Open
gurmukhp opened this issue Oct 12, 2018 · 3 comments
Open

Raspberry Pi Zero W #6

gurmukhp opened this issue Oct 12, 2018 · 3 comments

Comments

@gurmukhp
Copy link

Hello

I've tried to run this on the Raspberry Pi Zero W on the latest Raspbian lite image. The Pi comes with Bluetooth built int but the connection requests always time out.

Any idea why this is happening?

Thanks

@nemccarthy
Copy link

+1

@uududde
Copy link

uududde commented Feb 10, 2022

@gurmukhp you managed to build this for the Pi Zero W?

Since days I am kind of stuck (Raspberry Pi Zero W Rev 1.1 with Raspbian buster) when trying to install gattlib. I try to install it first via pip3 which fails so I then install it by downloading, untar and installing from local folder usind sed to replace ...py35 into py37 but no matter what I try (like installing supposedly missing libs etc.) I keep getting errors when pip3 is installing wheel like:

arm-linux-gnueabihf-gcc: fatal error: Killed signal terminated program cc1plus
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

Ah one more thing I could try is using sed to maybe replace ...py35 with ...py3 in the setup.py before installing. The installation process takes ages to go through (I often let it running over night) just to report the errors hours later.

@dave-p
Copy link
Contributor

dave-p commented May 22, 2022

Just had the same problem. The system is running out of memory and swapping onto the SD card. My solution was to add a HDD to the system and set up the Pi Zero to swap onto that with 1Gb of swap space. The compilation then (eventually) succeeded.

Debian now has python3-gattlib which might be another solution.

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

4 participants