Update 'pip-update.py'
This commit is contained in:
parent
266db6cdec
commit
a89b8e358b
|
@ -2,6 +2,8 @@ import subprocess
|
|||
import sys
|
||||
import json
|
||||
|
||||
# run this with sudo because sometimes packages require sudo to update/install
|
||||
|
||||
print('checking for updates...')
|
||||
pipOut = subprocess.run('python3.7 -m pip list --outdated --format json', capture_output=True, encoding="utf-8", shell=True)
|
||||
pipJson = json.loads(pipOut.stdout)
|
||||
|
|
Reference in New Issue