diff --git a/pipenv/environment.py b/pipenv/environment.py index 65e7188da4..7538ea9efa 100644 --- a/pipenv/environment.py +++ b/pipenv/environment.py @@ -90,7 +90,8 @@ def resolve_dist(cls, dist, working_set): deps.add(dist) try: reqs = dist.requires() - except (AttributeError, OSError, IOError): # The METADATA file can't be found + # KeyError = limited metadata can be found + except (KeyError, AttributeError, OSError, IOError): # The METADATA file can't be found return deps for req in reqs: dist = working_set.find(req)