Created
July 22, 2016 19:32
-
-
Save vpetrigo/a619a02508a29726dd9b646e4a14dce6 to your computer and use it in GitHub Desktop.
Batch files and shell scripts for Python packages via pip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem update system Python packages on Windows | |
FOR /F "usebackq" %%p IN (`pip list -o`) DO pip install -U %%p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pip list -o | cut -f 1 -d ' ' | xargs pip install -U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment