summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/utils/gr_plot_int.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/utils/gr_plot_int.py')
-rwxr-xr-xgnuradio-core/src/utils/gr_plot_int.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnuradio-core/src/utils/gr_plot_int.py b/gnuradio-core/src/utils/gr_plot_int.py
index 3eb36011d..86ecbce7d 100755
--- a/gnuradio-core/src/utils/gr_plot_int.py
+++ b/gnuradio-core/src/utils/gr_plot_int.py
@@ -20,7 +20,12 @@
# Boston, MA 02110-1301, USA.
#
-import scipy
+try:
+ import scipy
+except ImportError:
+ print "Please install SciPy to run this script (http://www.scipy.org/)"
+ raise SystemExit, 1
+
from optparse import OptionParser
from gr_plot_data import plot_data