python purge cache code example
Example 1: python remove cached package
# to Pip install Add --no-cache-dir parameter before intsall
pip --no-cache-dir install
Example 2: clear all python cache
find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf