<div dir="ltr"><div dir="ltr">This seems to result from the same issue pointed out in bug #837764</div><div dir="ltr"><br></div><div>Without <a href="https://github.com/pypa/pip/pull/6373/commits/e4936da2e1b62c33f0ed9034f5c984ae17e38e86">https://github.com/pypa/pip/pull/6373/commits/e4936da2e1b62c33f0ed9034f5c984ae17e38e86</a>, resp.raise_for_status() raises requests.exceptions.HTTPError, whereas the except clause tries to catch pip._vendor.requests.exceptions.HTTPError</div><div><br></div><div>Because of this the HTTPError is not being caught and installation aborts with a 404 before searching the local directory given by --find-links</div></div>