diff options
Diffstat (limited to 'gpsprof')
-rwxr-xr-x | gpsprof | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -28,7 +28,14 @@ import socket import sys import time -import gps +# pylint wants local modules last +try: + import gps +except ImportError as e: + sys.stderr.write( + "gpsprof: can't load Python gps libraries -- check PYTHONPATH.\n") + sys.stderr.write("%s\n" % e) + sys.exit(1) gps_version = '3.19-dev' if gps.__version__ != gps_version: |