Skip to content

Module 'lightblue' has no attribute 'findservices' #4

@Ewwwer

Description

@Ewwwer

Hi, it looks like a very good project and I want to try it but after installing Setup.py I run the script and it returns this error:


Searching for 00:18:09:9D:ED:FC...
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/sony-headphones-control", line 4, in <module>
    __import__('pkg_resources').run_script('SonyHeadphonesControl==0.1', 'sony-headphones-control')
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 651, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1448, in run_script
    exec(code, namespace, namespace)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/SonyHeadphonesControl-0.1-py3.10.egg/EGG-INFO/scripts/sony-headphones-control", line 19, in <module>
    service_matches = bluetooth.find_service(uuid=uuid, address=addr)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bluetooth/macos.py", line 49, in find_service
    dresults = lightblue.findservices(addr=address, name=name)
AttributeError: module 'lightblue' has no attribute 'findservices'

Do you know what it could be?
Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions