Код: Выделить всё
python3 BlueDucky.py
Код: Выделить всё
File "/home/user/BlueDucky/BlueDucky.py", line 1, in
import binascii, bluetooth, sys, time, datetime, logging, argparse
ModuleNotFoundError: No module named 'bluetooth'
Код: Выделить всё
sudo pacman -Syy
Я пытался установить pybluez также следующим образом:
Код: Выделить всё
python3 -m pip install pybluez
Код: Выделить всё
pip install pybluez
Код: Выделить всё
Collecting pybluez
Using cached PyBluez-0.23.tar.gz (97 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in PyBluez setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Python 3.12.8
Archlinux: 6.12.8-arch1-1
Подробнее здесь: https://stackoverflow.com/questions/793 ... -blueducky
Мобильная версия