Hello Zhang,

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/dist-packages

should probably fix the error. Make sure the path specified above exists and
contains the python gnuradio packages.

Cheers,

Rakesh

On Fri, Sep 17, 2010 at 8:01 AM, zhang wei <weizh...@rdamicro.com> wrote:

> Hi Guys,
>
>        I have done the following steps on my Ubuntu10.04:
>        git clone http://gnuradio.org/git/gnuradio.git
>         ./bootstrap,
>        ./configure,
>        make and
>        sudo make install.
>
>        All still seems to be OK.
>
>        However, I run
> "$ gnuradio-companion
> Traceback (most recent call last):
>  File "/usr/local/bin/gnuradio-companion", line 45, in <module>
>    """%gr.version()
> AttributeError: 'module' object has no attribute 'version'  "
>
>        There is not the old version of gnuradio in my system.
>        Who can help me?
>
> Thanks,
>
> Cliff Zhang
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to