If you want to stop installing other packages if any installation fails, use it in one single pip.main() call: import pip If you need to update every installed package, use following: import pipįor i in pip.get_installed_distributions(): # -upgrade to install or update existing packages If you want to use pip inside the Python interpreter, try this: import pip
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |