Import qtgui error

I tried the code of ‘Tutorial - Using the QT GUI Blocks in GNU Radio’,
but error occurred.

Traceback (most recent call last):
File “qt_basics.py”, line 4, in
from gnuradio.qtgui import qtgui
File
“/opt/gnuradio/3.3.0/lib/python2.6/site-packages/gnuradio/qtgui/qtgui.py”,
line 6, in
import _qtgui
ImportError: /opt/gnuradio/3.3.0/lib/libgnuradio-qtgui-3.3.0.so.0:
undefined symbol: _ZN9QwtPicker5resetEv

Who can tell me what is the problem? Thank you!

2010/12/22 lishan_wh [email protected]:

ImportError: /opt/gnuradio/3.3.0/lib/libgnuradio-qtgui-3.3.0.so.0: undefined
symbol: _ZN9QwtPicker5resetEv

Who can tell me what is the problem? Thank you!

What version of QWT are you using? What’s your OS?

Tom

Tom,
I use Ubuntu 9.04 and QWT-5.0.2.
Thank you!
Ally

On Wed, Dec 22, 2010 at 7:13 PM, lishan_wh [email protected] wrote:

Tom,
I use Ubuntu 9.04 and QWT-5.0.2.
Thank you!
Ally

Strange, I’m able to run this example on an Ubuntu 8.04 running
QWT-5.0.2, QT 4.3.4, and GNU Radio v. 3.3.0.

Are you sure you don’t have multiple installations of QT4, QWT, or GNU
Radio anywhere?

Tom

Ally,

Do you have PyQwt (http:// http://pyqwt.sourceforge.net/) installed ?

Mike