jboone / gr-tpms

Tire Pressure Monitor tools for GNU Radio
GNU General Public License v2.0
169 stars 36 forks source link

erro message #15

Closed cryoguy closed 6 years ago

cryoguy commented 6 years ago

Did anybody encounter following error:

tpms_rx --source rtlsdr --if-rate 400000 --tuned-frequency 315000000 Traceback (most recent call last): File "/usr/local/bin/tpms_rx", line 37, in import tpms ImportError: No module named tpms

parkerlreed commented 6 years ago

You have to set the install prefix to /usr. Default /usr/local looks for python modules in /usr/local/lib/python* which doesn't exist.

At the cmake .. step use this

cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
cryoguy commented 6 years ago

working now. Thanks!