According to pip’s caching documentation from version 6 you can use the –no-cache-dir option.
But that didn’t help me as I was using a wrapper (pinax starter projects) that runs pip in the background to install several packages. Since I kept getting an pip.exceptions.HashErrors (‘hashes don’t match the requirement file) and I didn’t want to temper with its code I renamed the pip cache folder and tried running my wrapper again. Once I noticed there weren’t issues I proceeded to delete the entire cache pip folder. I haven’t had any problem after that. So I can assume it is entirely a safe operation to delete pip’s cache folder.
These are the locations where you can find your pip cache:
Unix
~/.cache/pip and it respects the XDG_CACHE_HOME directory.
OS X
~/Library/Caches/pip.
Windows
\pip\Cache
Related Posts:
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- How do I install a Python package with a .whl file?
- pip/python: normal site-packages is not writeable
- How do I install a Python package with a .whl file?
- python3 command not found after installing python with pyenv
- Bash: Python3: command not found (Windows, discord.py)
- “ssl module in Python is not available”
- How to uninstall mini conda? python
- pip install mysql-python fails with EnvironmentError: mysql_config not found
- pip install mysql-python fails with EnvironmentError: mysql_config not found
- Visual C++ for python failed with exit status 2 when installing divisi2
- How to install requests module in Python 3.4, instead of 2.7
- PIP (Python) : ImportError: cannot import name _remove_dead_weakref
- Dealing with multiple Python versions and PIP?
- TensorfloTensorflow installation error: not a supported wheel on this platformw installation error: not a supported wheel on this platform
- How do I update\upgrade pip itself from inside my virtual environment?
- How to install pip with Python 3?
- ‘pip’ is not recognized as an internal or external command
- How to update/upgrade a package using pip?
- How do I update\upgrade pip itself from inside my virtual environment?
- bash: pip: command not found
- bash: pip: command not found
- How to uninstall a package installed with pip install –user
- Pip freeze vs. pip list
- How do I install pip on macOS or OS X?
- How can I install pip on Windows?
- Where does pip install its packages?
- How to install python3 version of package via pip on Ubuntu?
- Could not install packages due to an EnvironmentError:
- Could not find a version that satisfies the requirement tensorflow
- “ssl module in Python is not available” when installing package with pip3
- Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”
- Configuring so that pip install can work from github
- import opencv vs import cv2
- No module named ‘psycopg2’
- How to pip or easy_install tkinter on Windows
- filename.whl is not supported wheel on this platform
- Permission denied error by installing matplotlib
- Updating matplotlib in virtualenv with pip
- E: unable to locate package pip
- How to install pip3 on Windows?
- “ImportError: no module named ‘requests'” after installing with pip
- How do I install the yaml package for Python?
- ModuleNotFoundError: No module named ‘matplotlib’
- How to install PIP on Python 3.6?
- error: Unable to find vcvarsall.bat
- AttributeError: Module Pip has no attribute ‘main’
- Can I force pip to reinstall the current version?
- Removing pip’s cache?
- Could not find a version that satisfies the requirement
- No module named pkg_resources
- What is the purpose of “pip install –user …”?
- How to upgrade all Python packages with pip
- How do I remove all packages installed by PIP?
- What is the easiest way to remove all packages installed by pip?
- How to get pip to work behind a proxy server
- ‘pip3’ is not recognized as an internal or external command, operable program or batch file
- How to install multiple python packages at once using pip
- How are Pipfile and Pipfile.lock used?
- Checking whether pip is installed?
- AttributeError: Module Pip has no attribute ‘main’
- How to reinstall a pip package even if it exists
- How can I install Python’s pip3 on my Mac?
- No module named “Torch”
- upgade python version using pip
- clang error: unknown argument: ‘-mno-fused-madd’ (python package installation failure)
- ‘pip install’ fails for every package (“Could not find a version that satisfies the requirement”) [duplicate]
- python install wheel leads to import error
- Pipenv: Command Not Found
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- python pip on Windows – command ‘cl.exe’ failed
- pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
- ImportError: No module named ‘yaml’
- pip connection failure: cannot fetch index base URL http://pypi.python.org/simple/
- Find which version of package is installed with pip
- How to run Pip commands from CMD
- How to install PyGame on Python 3.4?
- Django Rest Framework — no module named rest_framework
- TensorFlow not found using pip
- python NameError: name ‘file’ is not defined
- boto3 python 2.7 ImportError: No module named boto3 USER_BASE USER_SITE site packages doesn’t exist
- pip3 error – ‘_NamespacePath’ object has no attribute ‘sort’
- ImportError: No module named Crypto.Cipher
- Python 3.6 No module named pip
- How to fix error “ERROR: Command errored out with exit status 1: python.” when trying to install django-heroku using pip
- Python can’t find module NLTK
- Unable to resolve ‘requests’. IntelliSense may be missing for this module. Visual Studio/Python
- zsh command cannot found pip
- Could not install packages due to an EnvironmentError: [Errno 13]
- ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
- How to install pip for Python 3 on Mac OS X?
- How to install Openpyxl with pip
- Failed building wheel for Twisted in Windows 10 python 3
- How to install NumPy for Python 3.6
- How to resolve “ImportError: DLL load failed:” on Python?
- How to install numpy to Python 3.5?
- Install pip for python 3.5
- How to install PyQt4 on Windows using pip?
- How to install PyQt4 on Windows using pip?
- How do I list the files associated with a Python package installed using pip or easy_install?