Your PYTHONPATH looks fine to me. In one of those paths should be a "gnuradio/grc/main.py". Looks like that didn't get installed for some reason. Maybe you could double check whats actually in there.
Admittedly, the error message could/should be a bit friendlier. I will fix that. Sebastian On 08/01/2016 03:54 PM, Mike Willis wrote: > I can't fix this one - 3 hours trying and I have given up. Ubuntu > 16.04. gnuradio-companion isn't working. Everything else seems to be > fine, existing flowgraphs run OK, even gqrx. I have tried a complete > re-installation, right back to the pybombs prefix init stage but no > dice. > > Any ideas? > > mike@mjw-i7:~/.gnuradio$ gnuradio-companion > Traceback (most recent call last): > File "/home/mike/gnuradio/bin/gnuradio-companion", line 29, in <module> > from gnuradio.grc.main import main > ImportError: No module named main > > I have set the environment etc. All looks good except there is no > lib64 director in my prefix /home/mike/gnuradio > > mike@mjw-i7:~/.gnuradio$ env |grep gnuradio > LIBRARY_PATH=/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/: > LD_LIBRARY_PATH=/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/: > PYBOMBS_PREFIX=/home/mike/gnuradio > PATH=/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > PWD=/home/mike/gnuradio > PYTHONPATH=/home/mike/gnuradio/python:/home/mike/gnuradio/lib/python2.6/site-packages:/home/mike/gnuradio/lib64/python2.6/site-packages:/home/mike/gnuradio/lib/python2.6/dist-packages:/home/mike/gnuradio/lib64/python2.6/dist-packages:/home/mike/gnuradio/lib/python2.7/site-packages:/home/mike/gnuradio/lib64/python2.7/site-packages:/home/mike/gnuradio/lib/python2.7/dist-packages:/home/mike/gnuradio/lib64/python2.7/dist-packages: > PKG_CONFIG_PATH=/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig: > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio