diff --git a/pipenv/core.py b/pipenv/core.py index 31adf6998e..3785b4f481 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1764,7 +1764,9 @@ def do_install( line, index = split_argument(line, short="i", long_="index", num=1) line, extra_indexes = split_argument(line, long_="extra-index-url") package_names = line.split() - package_name = package_names[0] + package_name = package_names.pop(0) + if package_name == '-e': + package_name = " ".join([package_name, package_names.pop(0)]) if len(package_names) > 1: more_packages = package_names[1:] else: