O dzięki, właśnie tego szukałem.
Pamiętałem że już to robiłem, ale nie mogłem tego poszukać.
O dzięki, właśnie tego szukałem.
Code: Select all
Collecting pybluez
Downloading PyBluez-0.23.tar.gz (97 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.6/97.6 kB 1.6 MB/s eta 0:00:00
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
Code: Select all
ls: cannot access '/home/supla/MiTemperature2/*.txt': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/supla-device.service → /etc/systemd/system/supla-device.service.
Code: Select all
sudo apt-get install python3-pip libglib2.0-dev
sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
sudo pip3 install bluepy
Code: Select all
sudo pip install git+https://github.com/pybluez/pybluez.git#egg=pybluez