summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/utils/gr_plot_char.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/utils/gr_plot_char.py')
-rwxr-xr-xgnuradio-core/src/utils/gr_plot_char.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnuradio-core/src/utils/gr_plot_char.py b/gnuradio-core/src/utils/gr_plot_char.py
index d7bde8d00..71ff4499a 100755
--- a/gnuradio-core/src/utils/gr_plot_char.py
+++ b/gnuradio-core/src/utils/gr_plot_char.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