Update 'pip-update.py'

This commit is contained in:
Cyberes 2019-12-16 23:47:20 -07:00
parent 266db6cdec
commit a89b8e358b
1 changed files with 2 additions and 0 deletions

View File

@ -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)