mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
update_dependencies needs to ensure pip is up to date before running updates
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -33,6 +33,7 @@ def main():
|
|||||||
packages_installed = []
|
packages_installed = []
|
||||||
packages_failed =[]
|
packages_failed =[]
|
||||||
subprocess.call("pip3 uninstall jwt", shell=True)
|
subprocess.call("pip3 uninstall jwt", shell=True)
|
||||||
|
subprocess.call('pip3 install --upgrade pip', shell=True)
|
||||||
for package in packages:
|
for package in packages:
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
command = "pip3 install {} ".format(package)
|
command = "pip3 install {} ".format(package)
|
||||||
|
|||||||
Reference in New Issue
Block a user