22 lines
1.4 KiB
Batchfile
22 lines
1.4 KiB
Batchfile
|
@echo off
|
||
|
|
||
|
python -c "import os, sys; print(os.path.dirname(sys.executable))" > tmp
|
||
|
set /p PYPATH=<tmp
|
||
|
del tmp
|
||
|
|
||
|
echo Python path: %PYPATH%
|
||
|
|
||
|
pip3.exe uninstall --yes min-dalle
|
||
|
pip3.exe uninstall --yes diffusers transformers ftfy
|
||
|
pip3.exe uninstall --yes ipywidgets
|
||
|
pip3.exe uninstall --yes torch torchvision torchaudio
|
||
|
pip3.exe uninstall --yes typing_extensions numpy pillow emoji charset-normalizer urllib3 idna certifi wheel scipy pandas notebook pygments
|
||
|
pip3.exe uninstall --yes requests pure-eval executing asttokens wcwidth parso pycparser webencodings soupsieve cffi attrs colorama colorama pywinpty six
|
||
|
pip3.exe uninstall --yes backcall backcall prompt-toolkit decorator jedi stack-data pickleshare zipp psutil matplotlib-inline ipython argon2-cffi-bindings
|
||
|
pip3.exe uninstall --yes jsonschema fastjsonschema tinycss2 importlib-metadata packaging bleach lxml markupsafe jupyterlab-pygments pandocfilters defusedxml
|
||
|
pip3.exe uninstall --yes mistune beautifulsoup4 pywin32 entrypoints jupyter-client nbformat tornado nbconvert argon2-cffi ipykernel nest-asyncio prometheus-client
|
||
|
pip3.exe uninstall --yes Send2Trash ipython-genutils jinja2 pyzmq jupyter-core terminado pytz python-dateutil traitlets piexif
|
||
|
pip3.exe uninstall --yes pyparsing pyrsistent debugpy filelock huggingface_hub regex tokenizers tqdm jupyterlab_widgets nbclient widgetsnbextension
|
||
|
|
||
|
pip3.exe cache purge
|
||
|
cleanpy.exe %PYPATH%/lib
|