Souci ds le script des dépendances => error no bluetooth

Salut,

dans le script des dépendances, il y a un souci car il attend une réponde, qui du coup ne peut etre donnée et ca fait un abort

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libboost-python1.74.0 libboost-thread1.74.0 python3-gattlib
The following NEW packages will be installed:
libboost-python1.74.0 libboost-thread1.74.0 python3-bluez python3-gattlib
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 783 kB of archives.
After this operation, 5443 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
Requirement already satisfied: cryptography in /usr/local/lib/python3.9/dist-packages (40.0.1)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.9/dist-packages (from cryptography) (1.15.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.12->cryptography) (2.21)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pycrypto in /usr/local/lib/python3.9/dist-packages (2.6.1)

Du coup même si les dépendances semblent ok, le démon ne peut démarrer car en debug il dit:

File "/var/www/html/plugins/phone_detection/core/class/../../resources/phone_detectiond/phone_detectiond.py", line 23, in <module>
import bluetooth
ModuleNotFoundError: No module named 'bluetooth'

donc dans /resources/install_apt.sh ajouter -y

sudo apt install -y python3-bluez

idem choisir apt ou apt-get la y a des 2

sudo apt-get update
echo 20 > ${PROGRESS_FILE}
sudo apt-get install -y python3-dev build-essential python3-requests python3-setuptools python3-serial python3-pyudev bluetooth libffi-dev libssl-dev libbluetooth-dev libopenjp2-7 libtiff5 libatlas-base-dev rfkill
sudo apt-get install -y python3 bluez bluez-hcidump python3-pip --reinstall
sudo pip3 install -U setuptools
echo 40 > ${PROGRESS_FILE}
sudo apt-get install -y libglib2.0-dev git
echo 50 > ${PROGRESS_FILE}
sudo pip3 install pyudev
sudo pip3 install pyserial
sudo pip3 install requests
#sudo pip3 install pybluez  !!! FAILED
sudo apt install python3-bluez
1 « J'aime »

Souci tjrs présent dans la dernière beta

The following additional packages will be installed:
libboost-python1.74.0 libboost-thread1.74.0 python3-gattlib
The following NEW packages will be installed:
libboost-python1.74.0 libboost-thread1.74.0 python3-bluez python3-gattlib
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 783 kB of archives.
After this operation, 5443 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
Requirement already satisfied: cryptography in /usr/local/lib/python3.9/dist-packages (2.6.1)
Requirement already satisfied: asn1crypto>=0.21.0 in /usr/local/lib/python3.9/dist-packages (from cryptography) (1.5.1)
Requirement already satisfied: six>=1.4.1 in /usr/local/lib/python3.9/dist-packages (from cryptography) (1.16.0)