diff --git a/neb/src/install.py b/neb/src/install.py index f436c71..5f26c69 100644 --- a/neb/src/install.py +++ b/neb/src/install.py @@ -2,6 +2,7 @@ from .console import print_error_message from .util import ensure_libs_env, comet_dir, get_package_index import os +import sys def install(args): @@ -22,4 +23,10 @@ def install(args): return index = get_package_index() + + package = index.get(name, None) + if package == None: + print_error_message(f"No package was found with the name \"{name}\"") + sys.exit(1) + print(index) \ No newline at end of file