Skip to content

Instantly share code, notes, and snippets.

@macagua
Last active March 30, 2022 22:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macagua/d1eb20b4d0541da2650cd7000e4d2577 to your computer and use it in GitHub Desktop.
Save macagua/d1eb20b4d0541da2650cd7000e4d2577 to your computer and use it in GitHub Desktop.
[TIP] When there is Internet latency and requires installing python packages by conda tool but the installation failed, then you can prevent conda from re-downloading previously downloaded packages, running this command
mkdir -p ~/.conda/pkgs && printf 'pkgs_dirs:\n - ~/.conda/pkgs\n' >> ~/.condarc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment