MinDalle_StableDiff/rem_dependencies.bat

12 lines
404 B
Batchfile
Raw Normal View History

2022-09-17 13:44:01 +03:00
@echo off
set PYPATH=".\Python310"
2022-09-17 13:44:01 +03:00
2022-10-28 20:24:02 +03:00
%PYPATH%\python.exe .\Python310\Scripts\pip3.exe freeze > uninstall.txt
%PYPATH%\python.exe .\Python310\Scripts\pip3.exe uninstall --yes -r uninstall.txt
del uninstall.txt
2022-10-28 20:24:02 +03:00
%PYPATH%\python.exe %PYPATH%\Scripts\pip3.exe install --no-warn-script-location cleanpy
%PYPATH%\python.exe %PYPATH%\Scripts\pip3.exe cache purge
.\Python310\Scripts\cleanpy.exe "%PYPATH%"
2022-10-28 20:24:02 +03:00
pause