Closed nickes closed 7 years ago
Hi @nickes,
I think the issue is in fact with your PYTHONPATH
. Try chopping lora/
off the end of the substring you listed. So the string within PYTHONPATH
would be /usr/local/lib/python2.7/site-packages
.
Make sure you source/apply your path changes before testing (apologies if that's reductive).
Actually you know what, I'm not sure that will do it. Try it, but while you do can you post any build information I would need to reproduce? i.e. GNU Radio version/commit hash, OS distro version, etc.
Hi @matt-knight, wow thanks for the quick reply. I'm using gnuradio version 3.7.10.1 on Arch Linux (4.9.11-1-ARCH, x86_64). I tried to shorten the path, but the result was the same. I also noticed that I'm getting the same error like in the issue that you referenced.
@nickes Sounds good, thanks for the details. I'll try to reproduce and will update accordingly.
@nickes For Arch Linux, you have to run cmake
with the -DCMAKE_INSTALL_PREFIX=/usr
argument.
(Same as in rpp0/gr-lora)
@Wosser1sProductions I tried it with the argument, but the error is still the same. @matt-knight somehow I'm pretty sure that this is not really a problem of gr-lora, it has definitely something to do with my Arch environment. I also tried to run the file on my Kali Linux distro on my laptop with gr 3.7.10. The flow graph executed without errors. I think this issue can be closed...
Hi,
had the same problem when not installing to /opt prefix, the libgnuradio-lora.so was installed to /usr/lib instead of /usr/lib64. I guess it has to do with this part of the CMakeList.txt:
set(GR_LIBRARY_DIR lib${LIB_SUFFIX})
manually moving the file fixed the issue.
best
I'm not quite sure if this is really an issue, but I tried to use the lora-samples from rpp0 with this repository. I modified rx_ursp.grc to: After executing the project, I'm getting the error message:
The path
/usr/local/lib/python2.7/site-packages/lora/
is in my$PYTHONPATH
variable. Is it possible, to use this repo without a lora-device?