On 23/04/13 14:46, Sid Boyce wrote:
# gnuradio-config-info -v
v3.6.4.1-106-gf1dbf510

On bot x86_64 and ARM gnuradio used to work now I get a pop-up complaining about PYTHONPATH. "export PYTHONPATH=/usr/lib/python2.7" on ARM and "export PYTHONPATH=/usr/lib64/python2.7" on openSUSE doesn't help.

I even rebuilt gnuradio on x86_64 in case something in an update caused a problem.
73 ... Sid.

In fact, here's a fun little script I wrote a while back to find the appropriate pythonpath on your system.


--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

#!/bin/sh
#
# Setup PYTHONPATH
#
function pythonpath {
        PYTHONPATH=unset
        for mach in 64 ""
        do
                for lib in /usr/local/lib /opt/lib /usr/lib
                do
                        for vers in 2.8 2.7 2.6 2.5
                        do
                                for pkg in site-packages dist-packages
                                do
                                        td=${lib}${mach}/python${vers}/${pkg}
                                        if [ -d $td/gnuradio ]
                                        then
                                                PYTHONPATH=$td
                                                break
                                        fi
                                done
                                if [ $PYTHONPATH != unset ]
                                then
                                        break
                                fi
                        done
                        if [ $PYTHONPATH != unset ]
                        then
                                break
                        fi
                done
                if [ $PYTHONPATH != unset ]
                then
                        break
                fi
        done
}
pythonpath
echo PYTHONPATH should be $PYTHONPATH

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to