Closed leixyou closed 3 years ago
Thank you for opening this issue.
This problem is because I imported l2cat
into btatt
prematurely. btatt
and bluescan
currently do not need l2cat
.
I have released the new version 0.0.2
for btatt
with l2cat
commented out.
Try this version to see if the problem can be solved.
bluescan version 0.6.3
btatt version 0.0.2
bluescan -h
Traceback (most recent call last):
File "/home/ubuntu/bluetooth/pybluescan/bin/bluescan", line 5, in
Still exist above error when i run bluescan.
The removesuffix()
is new in Python3.9. However, you used python3.6.
Please upgrade your python or use a lower version bluescan.
hey, im having the same problem trying to run bluescan, i had issues with building pybluez but managed fixing them and now after i finally managed to install blue scan i only get this output:
Traceback (most recent call last):
File "/home/wiggige/.local/bin/bluescan", line 5, in
tried installing also python3.9 but seems like my python is up to date. any idea?
Traceback (most recent call last): File "/home/ubuntu/bluetooth/pybluescan/bin/bluescan", line 5, in
from bluescan.main import main
File "/home/ubuntu/bluetooth/pybluescan/lib/python3.6/site-packages/bluescan/main.py", line 17, in
from .ui import parse_cmdline
File "/home/ubuntu/bluetooth/pybluescan/lib/python3.6/site-packages/bluescan/ui.py", line 56, in
from btgatt import service_names, charac_names, descriptor_names
File "/home/ubuntu/bluetooth/pybluescan/lib/python3.6/site-packages/btgatt/init.py", line 6, in
from btatt import Attribute
File "/home/ubuntu/bluetooth/pybluescan/lib/python3.6/site-packages/btatt/init.py", line 7, in
from l2cat.l2cap_client import L2CAPClient
ModuleNotFoundError: No module named 'l2cat'
There is no l2cat library can be installed.
I noted that the btatt library was updated on April 30. Maybe due to the btatt library update?