diff options
-rwxr-xr-x | Tools/px_generate_uorb_topic_headers.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Tools/px_generate_uorb_topic_headers.py b/Tools/px_generate_uorb_topic_headers.py index 3e24e66b2..694665592 100755 --- a/Tools/px_generate_uorb_topic_headers.py +++ b/Tools/px_generate_uorb_topic_headers.py @@ -42,7 +42,12 @@ import os import shutil import filecmp import argparse -import genmsg.template_tools + +try: + import genmsg.template_tools +except ImportError, e: + print("Package empy not installed. Please run 'sudo apt-get install python-empy' on a Debian/Ubuntu system, 'sudo pip install empy' on a Mac OS system or 'easy_install empy' on Windows system.") + exit(1) __author__ = "Thomas Gubler" __copyright__ = "Copyright (C) 2013-2014 PX4 Development Team." |