mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Switch to a larger catch-all error
This commit is contained in:
parent
0557b0e2d1
commit
8e1a353b6d
|
@ -298,7 +298,7 @@ class InstallCommand(RequirementCommand):
|
|||
installed = ' '.join(items)
|
||||
if installed:
|
||||
logger.info('Successfully installed %s', installed)
|
||||
except OSError:
|
||||
except EnvironmentError:
|
||||
base_msg = (
|
||||
"Unable to install due to lack of permissions in "
|
||||
"installation directory."
|
||||
|
|
Loading…
Reference in a new issue