Skip to content

Instantly share code, notes, and snippets.

@shubhamagarwal92
Last active November 16, 2019 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shubhamagarwal92/7325b5feac45e959645ac41ceddb962a to your computer and use it in GitHub Desktop.
Save shubhamagarwal92/7325b5feac45e959645ac41ceddb962a to your computer and use it in GitHub Desktop.
Ignore cache when installing package
pip install --no-cache-dir <pkg>
# Currently conda doesnt allow ignoring cache
# https://github.com/conda/conda/issues/7741
conda clean --all --force-pkgs-dirs
# https://stackoverflow.com/a/57994079/3776827
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment