Closed ppalaga closed 2 years ago
Hi Peter!
On Tuesday, December 28, 2021 9:56:34 A.M. CST Peter Palaga wrote:
File "/home/ppalaga/.local/lib/python3.9/site-packages/bluetooth/ init.py", line 18, in
from bluetooth.linux import * ModuleNotFoundError: No module named 'bluetooth.linux' I have installed the prerequisites via `pip3 install -r requirements.txt` before running `run_command.py ls`. I am quite new to Python and pip, maybe I am missing something basic.
I don't think you are missing anything. I looked at line 18 in the file mentioned above and on my system it does NOT read "from bluetooth.linux import *". My hunch is that you have a different version of the file than I do.
I have not updated this stuff in months.
My copy of "bluetooth/init.py" has a line that reads:
version = 0.41
What version is in your file?
Thanks, -Steve
Thanks Steve, that helped! I had pybluez2 0.44. I did the following to make it work:
pip uninstall pybluez2
pip install 'pybluez2==0.41'
First of all, thanks for your effort to allow programming the Lego Hub on Linux!
This is what happens when I run
python3 run_command.py ls
:I have installed the prerequisites via
pip3 install -r requirements.txt
before runningrun_command.py ls
. I am quite new to Python and pip, maybe I am missing something basic.I am on Fedora 34.