mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-23 11:09:22 +01:00
pylink: less ambiguous error when module isn't installed
This commit is contained in:
parent
47a0a7f8c6
commit
357e8327c4
3
pylink
3
pylink
@ -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__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user