-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install error? #40
Comments
I had the same issue but found a link to an issue on github and a solution that worked for me. Here's the link: pybluez/pybluez#431 (comment) What i did was, after installing all the prereqs, ran these commands
|
That seemed to do the trick. Thanks a ton! |
However, now on running Tilt Pitch I get the following: Starting... |
That ones over my pay grade :). Problem is pybluez is not maintained anymore. I found a commit referencing the issue but it hasn't been incorporated into the master repo so i dont know how to fix this issue I actually stopped using tilt pitch and i'm using TiltBridge now. Much better and supports Tilt Pro Hydrometers. |
Thanks for giving it a shot anyway. i know just enough about Linux to get myself in trouble and even less about coding in Python, LOL! Got an old Raspberry Pi kicking around and got TiltPi running on that. Was just hoping to run the data monitor on an already running machine, but heck, TiltPi is probably my best bet. Happy brewing! |
If anyone has the same problem, there are two dependencies that need to be overridden. You need pybluez off the master branch as mentioned above and beacontools 2.0.2 because the latest version of beacontools seems to have a breaking change.
I wonder if it would be worth raising a PR to pin these dependencies. It's not ideal to depend on a git repo but pybluez isn't maintained so there isn't much choice. We could pin it to a hash. Something like this: diff --git a/requirements.txt b/requirements.txt
index 3d21a45..72b9eb6 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,6 +4,6 @@ python-interface
pyfiglet<1
influxdb
influxdb-client[ciso]
-beacontools[scan]
+beacontools[scan]==2.0.2
azure-iot-device==3.0.0b2
-pybluez
+pybluez @ git+https://github.com/AcrossTheCloud/pybluez@82cbba8a1ebd4c1e3442dfafd8581d58c50fa39e |
Had an issue attempting to install tilt-pitch on my Linux Mint machine. I saved a text file of the readouts from the Terminal. Below is the last error I got:
plex@PLEXSERVER:~$ pip3 install tilt-pitch
Defaulting to user installation because normal site-packages is not writeable
Collecting tilt-pitch
Downloading tilt_pitch-1.0.2-py3-none-any.whl (36 kB)
Collecting influxdb-client[ciso]
Downloading influxdb_client-1.39.0-py3-none-any.whl (743 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 744.0/744.0 KB 4.7 MB/s eta 0:00:00
Collecting influxdb
Downloading influxdb-5.3.1-py2.py3-none-any.whl (77 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.9/77.9 KB 5.8 MB/s eta 0:00:00
Collecting pybluez
Downloading PyBluez-0.23.tar.gz (97 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.6/97.6 KB 1.8 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
× 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.
plex@PLEXSERVER:
$ pytho3 - pitch22.04)Command 'pytho3' not found, did you mean:
command 'python3' from deb python3 (3.10.6-1
Try: sudo apt install
plex@PLEXSERVER:
$ python3 -m pitch$/usr/bin/python3: No module named pitch
plex@PLEXSERVER:
The text was updated successfully, but these errors were encountered: