summaryrefslogtreecommitdiff
path: root/gr-trellis/src/examples/fsm_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-trellis/src/examples/fsm_utils.py')
-rwxr-xr-xgr-trellis/src/examples/fsm_utils.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/gr-trellis/src/examples/fsm_utils.py b/gr-trellis/src/examples/fsm_utils.py
index e3426637c..e9243f899 100755
--- a/gr-trellis/src/examples/fsm_utils.py
+++ b/gr-trellis/src/examples/fsm_utils.py
@@ -26,10 +26,15 @@ import math
import sys
import operator
import numpy
-import scipy.linalg
from gnuradio import trellis
+try:
+ import scipy.linalg
+except ImportError:
+ print "Error: Program requires scipy (see: www.scipy.org)."
+ sys.exit(1)
+
######################################################################