Closed amccombsahce closed 4 years ago
I am having trouble with this, even though I installed bluepy, the switchbot.py cannot find it
pi@raspberrypi:~/python-host` $ python switchbot.py
Traceback (most recent call last): File "switchbot.py", line 17, in from bluepy.btle import Scanner, DefaultDelegate ImportError: No module named bluepy.btle
but I already did the bluepy install and it shows here:
pi@raspberrypi:~/python-host $ sudo pip3 install bluepy
Requirement already satisfied: bluepy in /usr/local/lib/python3.5/dist-packages
got it to work
How did you got it to work?
@amccombsahce I am facing the same issue. How did you got it to work?
I think I uninstalled pip3 and python3, rebooted and reinstalled.
I am having trouble with this, even though I installed bluepy, the switchbot.py cannot find it
pi@raspberrypi:~/python-host` $ python switchbot.py
Traceback (most recent call last): File "switchbot.py", line 17, in
from bluepy.btle import Scanner, DefaultDelegate
ImportError: No module named bluepy.btle
but I already did the bluepy install and it shows here:
pi@raspberrypi:~/python-host $ sudo pip3 install bluepy
Requirement already satisfied: bluepy in /usr/local/lib/python3.5/dist-packages