I'm stuck in pip installation process..
1.how can ignore pip cache
2.how can remove all packages for pip
3.can pip/cache folder deletion is safe
CodePudding user response:
remove all packages
pip freeze | xargs pip uninstall -y
install any packages without pip cache
pip --no-cache-dir install -r requirements.txt
removes all wheel files related to matplotlib from pip's cache
pip cache remove matplotlib
to clear all wheel files from pip's cache.
pip cache purge
configure pip to not use the cache "globally" (in all commands).
pip config set global.no-cache-dir false
CodePudding user response:
If you want to delete cache folder the open command prompt ,in this path.
C:\Users\USER NAME\AppData\Local\pip.
del /f /s /q cache > NUL