I had been pulling my hair out on this one. I solved the problem. I thought I would share here in case anyone else was running into this issue. Maybe it's just me.
I'm using a Raspberry Pi (i.e. Linux) for my setup using OP25 Boatbod. When I invoke my BASH script from the command line, all is well.
I created a desktop launcher icon (a .desktop file) and that runs said BASH script and I got a Python error saying "No module named OP25". Again, it works flawlessly when called from the command line. Why?
It turns out when I use the icon, my $PYTHONPATH variable from my .bashrc wasn't defined. I had to copy that line from my .bashrc into my BASH script that calls my rx.py script.
I'm using a Raspberry Pi (i.e. Linux) for my setup using OP25 Boatbod. When I invoke my BASH script from the command line, all is well.
I created a desktop launcher icon (a .desktop file) and that runs said BASH script and I got a Python error saying "No module named OP25". Again, it works flawlessly when called from the command line. Why?
It turns out when I use the icon, my $PYTHONPATH variable from my .bashrc wasn't defined. I had to copy that line from my .bashrc into my BASH script that calls my rx.py script.