Closed netllama closed 2 years ago
The spacex.api.device
package does not come from an installable project, those are the generated protocol modules. As noted in the README:
dump_dish_status.py
is a simple example of how to use the grpc modules (the ones generated by protoc, notstarlink_grpc
) directly. This script does require the generated gRPC protocol modules, contrary to the above recommendation against generating them.
The other scripts can get the protocol modules via reflection, but dump_dish_status.py
is intended to be as simple as possible, so needs a bit more preparation.
BTW: I would recommend uninstalling the spacex
pip package. I don't know what that is, but I'm pretty sure it's not published by SpaceX or related to communicating with a Starlink dish, and it has a Python package namespace conflict with packages that SpaceX uses for the grpc protocols.
ok, thanks, that clears things up.
On a Fedora35-x86_64 system in a freshly created virtenv, with python-3.10.5, the
spacex
pkg is never installed by default, and even after manually installing it, other packages are missing/broken: