pip install non-existent-package
pip install --user package-with-missing-dependencyThis will also raise an InstallationError because "package-with-missing-dependency" requires a dependency that is not currently installed on the system. Package library: pip._internal. This exception is defined within the pip._internal.exceptions module.