Modify error message for module import dependecies

This commit is contained in:
wez3 2017-01-21 02:43:33 +01:00
parent 32bfc80521
commit aaee743942
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def loadPlugins():
plugin[name] = imp.load_source(name, plugin_dir + i)
plugin[name].init()
except ImportError as msg:
sys.exit("Error occured during loading imports for the plugin {}: {}".format(name, msg))
sys.exit("Error occured during loading imports for the plugin {}: {}. Install it with 'easy_install {}' or 'pip install {}'".format(name, msg, msg , msg))
return plugin
def getPluginDict():