Proto file not include in foxglove-websocket[examples] pip package
ansefollin opened this issue · comments
Description
Trying to run the python example as described in README.md raise an error :
ModuleNotFoundError: No module named
'foxglove_websocket.examples.proto.foxglove'
It's look like neither the proto schema not its protoc is include in the pip package : foxglove_websocket\examples\proto\ is empty
- Version: foxglove-websocket 0.0.8
- Platform: windows 11 / Python 3.10.2
Steps To Reproduce
-
Create and start virtual env
python -m venv myvenv
.\myvenv\Scripts\activate
-
Follow README.md procedure
pip install foxglove-websocket
pip install 'foxglove-websocket[examples]'
-
Try to start sample
python -m foxglove_websocket.examples.protobuf_server
-
Following error occurs :
from foxglove_websocket.examples.proto.foxglove.SceneUpdate_pb2 import SceneUpdate ModuleNotFoundError: No module named 'foxglove_websocket.examples.proto.foxglove' Unable to import protobuf definitions; did you forget to run `pip install foxglove-websocket[examples]`?
Expected Behavior
Server should start w/o errors
Thanks for the report! Fixed now in the latest version.