Where can I find documentation for the pip module api?
- oneWhat kind of documentation are you interested in? Will this not work? pip.pypa.io - awesoon 1:14 pm
- @soon apidoc --- - Smit Johnth pm
|
1 answer
There is no such.
If you really want to use pip
from the code, then you need pip.main()
.
import pip def install(package): pip.main(['install', package]) # Example if __name__ == '__main__': install('argh')
- Oh, just the right thing. I've been looking for this question for a long time. Plus sign. And for easy_install, is this (there is no pip on 2.x)? - Smit Johnth
- In the sense, there is no pip on 2.x? - Nickolay
- Included no. - Smit Johnth
- A. .. Well there it is similar: stackoverflow.com/a/935219/1026 - Nickolay
|