-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
auto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationresolution: invalidInvalid issue/PRInvalid issue/PRtype: supportUser SupportUser Support
Description
- Pip version: 10.0.1
- Python version: 3.7
- Operating system: Windows 7
I'm trying to call the pip.main function:
>>> import pip
>>> pip.main(['install', '--user', 'numpy'])
Collecting numpy
Downloading https://files.pythonhosted.org/packages/f3/71/94628784c3f07d4bc0dd38f8753e3f751d66cfd5a6823591179608c27f09/numpy-1.14.5-cp35-none-win_amd64.whl (13.4MB)
2
But I'm not getting any indication that the package was installed. Replacing the package with a fake returns the following:
>>> import pip
>>> pip.main(['install', '--user', 'foo'])
Collecting numpy
1
So this implies that the last number is some sort of error code, but I can't seem to find any documentation on what the error code means. Is there some documentation anywhere on what they mean?
Metadata
Metadata
Assignees
Labels
auto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationresolution: invalidInvalid issue/PRInvalid issue/PRtype: supportUser SupportUser Support