use uninstall -y
This commit is contained in:
parent
c0a1baa46e
commit
a2116e8b2b
1 changed files with 1 additions and 1 deletions
2
webui.py
2
webui.py
|
@ -125,7 +125,7 @@ def update_dependencies():
|
|||
package_name = url.split("/")[-1].split("@")[0]
|
||||
|
||||
# Uninstall the package using pip
|
||||
run_cmd("python -m pip uninstall " + package_name, environment=True)
|
||||
run_cmd("python -m pip uninstall -y" + package_name, environment=True)
|
||||
print(f"Uninstalled {package_name}")
|
||||
|
||||
# Installs/Updates dependencies from all requirements.txt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue