You can also add some code to check the string output and make sure It is really matching what you anticipate before you do the regex switch. I realize that some Others have pointed out the fact that you'll be able to run pip having a proxy, but I might https://share.evernote.com/note/e784ee3c-bcb6-29a5-775b-1a741b125277