summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
Diffstat (limited to 'grc')
-rwxr-xr-xgrc/scripts/grc4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/scripts/grc b/grc/scripts/grc
index efbcfd295..d0b8099f1 100755
--- a/grc/scripts/grc
+++ b/grc/scripts/grc
@@ -22,10 +22,10 @@ import pygtk
pygtk.require('2.0')
import gtk
-try: import gnuradio
+try: from gnuradio import gr
except ImportError, e:
d = gtk.MessageDialog(type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_CLOSE, message_format="""
-Cannot find module gnuradio. Is your PYTHONPATH set correctly?""")
+Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""")
d.set_title(str(e))
d.run()
exit(-1)