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

install error on Raspberry Pi #476

Open
xgqfrms opened this issue May 18, 2023 · 1 comment
Open

install error on Raspberry Pi #476

xgqfrms opened this issue May 18, 2023 · 1 comment

Comments

@xgqfrms
Copy link

xgqfrms commented May 18, 2023

install error on Raspberry Pi

image

System

  • Raspberry Pi OS
  • Raspberry Pi 3B
  • Python 3.9.2
  • PyBluez 0.23

Issue

reproduce steps

$ sudo pip3 install pybluez
#!/usr/bin/env python3
# coding: utf8

from time import sleep
import bluetooth

try:
  nearby_devices = bluetooth.discover_devices(lookup_names=True)
  print("Found {} devices.".format(len(nearby_devices)))
  for addr, name in nearby_devices:
    print("address = {}, name = {}".format(addr, name))
except KeyboardInterrupt:
  print("Ctrl + C ✅")
finally:
  sleep(1)
  print("clear ✅")

long logs.

https://gist.github.com/xgqfrms/af407d86c1630af75046d19c0b785451

@CoolCash1
Copy link

Try running
sudo apt install bluetooth libbluetooth-dev
and then try install again

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

2 participants