Closed Sleepybear closed 2 years ago
By installing using sudo command sudo pip3 install tilt-pitch && sudo pip3 install influxdb_client
I was able to get it to run using sudo command, but is it possible to just grant bluetooth permissions to the module?
For the module not found part - modules are "localized" to the user, so if you install it as root you can only run it as root, etc. You can also use virtualenvs . That's a python thing not a pitch thing.
For the permissions issues, can you/did you try these steps? https://github.com/linjmeyer/tilt-pitch/blob/master/examples/install/prereqs.sh In particular that last command may help.
Yes, I did the last command, but I'll try it again.
Weird, running the command again seemed to fix it. Cheers!
If it pops up again feel free to reach out. I have an Ubuntu laptop and Raspberry PI both running Pitch, never had to run it again. Maybe something to do with the user or maybe it resets on reboots in some distros? Not sure, glad you got it working
I'm trying to run this on an Intel NUC that has a bluetooth adapter. I have it all setup and installed, but when I run
python3 -m pitch
I get the following:Figured it was a permissions issue, but when I do
sudo python3 -m pitch
It just says/usr/bin/python3: No module named pitch
How do I give permission to pitch to use the bluetooth adapter?