3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 13:09:23 +01:00

pylink: less ambiguous error when module isn't installed

This commit is contained in:
James Lu 2016-07-21 00:02:37 -07:00
parent 47a0a7f8c6
commit 357e8327c4

3
pylink
View File

@ -10,7 +10,8 @@ try:
except ImportError:
sys.stderr.write("ERROR: Failed to import PyLink main module (pylinkirc.world).\n\nIf you are "
"running PyLink from source, please install PyLink first using 'python3 "
"setup.py install [--user]'\n")
"setup.py install' (global install) or 'python3 setup.py install --user'"
" (local install)\n")
sys.exit(1)
from pylinkirc import conf, __version__