Module error in Ping Python

Hi all,

I’m not sure if I’m in the right category (first time posting), but I hope you can help!

I’m trying to decode the log data from a Ping1D and decided to start with the simple example by @patrickelectric to get a better idea of the structure and how to proceed. I installed the ping python module and when I run the log file interpreter script, it throws an error “ModuleNotFoundError: No module named ‘brping.definitions’”

I’ve tried installing with a Git Clone and with Pip. I added the Ping Python module install path to my system path for good measure, but I still get the error.

Does anyone know how to deal with this error?

Hi,

Please update your python package with: pip3 install --user bluerobotics-ping --upgrade
There is a problem in the installation instructions from the source code, it should be fixed soon, but it should be:

git clone --single-branch --branch deployment https://github.com/bluerobotics/ping-python.git
cd ping-python
python setup.py install --user

Also, the decode script is now in ping-viewer repository, it should be always updated to the last version available: