gr-paint
gr-paint copied to clipboard
NoModuleFound Error after installation
I have build and installed the gr-paint as in readme file, however when i try to use it in gnu radio companion, it won't work
Ok so i changed the install path to be in /usr instead of /usr/local, and now it kind of works, but i get this error.
AttributeError: module 'paint' has no attribute 'paint_bc'
Check to see where your GNU Radio is installed.
gnuradio-config-info --prefix
Make sure you're using the correct branch. maint-3.7 for GNU Radio 3.7.x or master for GNU Radio 3.8.x.
My prefix is /usr
and i use master for GNU Radio 3.8.x
I used cmake -DCMAKE_INSTALL_PREFIX=/usr ../
to change the installation path, because the default was /usr/local
And it still says AttributeError: module 'paint' has no attribute 'paint_bc'
Clear your build directory before rebuilding. CMake can cache things.
cd gr-paint/build
rm -rf *
cmake -DCMAKE_INSTALL_PREFIX=/usr ../
make
sudo make install
sudo ldconfig
Be absolutely sure you're in gr-paint/build before issuing rm -rf *
.
I still get AttributeError: module 'paint' has no attribute 'paint_bc'
error
And i have even clean uninstalled previous attempts with sudo make uninstall
in /build
folder so nothing collides
Well, I'm out of tricks. Are you using some other OS than Ubuntu/Debian?
Well, Kali Linux, but it's so close to Debian, i didn't think it really matters. Does it ? I mean now we see it does, do you think there is any way to run gr-paint on Kali Linux ?
Maybe it's using a different directory structure. Take a look in /usr/lib/python3/dist-packages/ and see what's there. It should have gnuradio, pmt and paint (and lots of other python stuff). If it's just paint, then add to your python path.
export PYTHONPATH=$PYTHONPATH:/usr/lib/python3/dist-packages