[Bug 1891759] [NEW] ModuleNotFoundError: No module named 'gattlib'

Etienne Membrives 1891759 at bugs.launchpad.net
Sat Aug 15 15:05:08 UTC 2020


Public bug reported:

I installed python3-bluez on Ubuntu 20.04:
 $> sudo apt install python3-bluez

However, using this package in python3 leads to an error:
 $> python3
 Python 3.8.2 (default, Jul 16 2020, 14:00:26) 
 [GCC 9.3.0] on linux
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import bluetooth.ble
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/python3/dist-packages/bluetooth/ble.py", line 1, in <module>
     from gattlib import *
 ModuleNotFoundError: No module named 'gattlib'

I tried searching for package with "gattlib" in its name, but apt does
not find anything.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: python3-bluez 0.22+really0.22-1build2
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 15 16:54:34 2020
InstallationDate: Installed on 2019-05-11 (462 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: pybluez
UpgradeStatus: Upgraded to focal on 2020-05-08 (98 days ago)

** Affects: pybluez (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of
Bluetooth, which is subscribed to pybluez in Ubuntu.
https://bugs.launchpad.net/bugs/1891759

Title:
  ModuleNotFoundError: No module named 'gattlib'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pybluez/+bug/1891759/+subscriptions



More information about the Ubuntu-bluetooth mailing list