MinDalle_StableDiff/rem_dependencies_global.bat

24 lines
1.6 KiB
Batchfile
Raw Permalink Normal View History

2022-10-09 14:41:45 +03:00
@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 PyYAML
2022-10-09 14:41:45 +03:00
pip3.exe uninstall --yes diffusers transformers ftfy
pip3.exe uninstall --yes spacy blis catalogue click confection cymem langcodes murmurhash pathy preshed pydantic setuptools smart_open spacy_legacy spacy_loggers srsly thinc typer wasabi
pip3.exe uninstall --yes ipywidgets pillow
2022-10-09 14:41:45 +03:00
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%
pause