Quantcast
Channel: The smallest python distribtion to run Sympy, Scipy, Numpy and Matplotlib - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Mr-IDE for The smallest python distribtion to run Sympy, Scipy, Numpy and Matplotlib

$
0
0

Use these commands to reduce the install size of Python libraries, by removing unnecessary downloaded package files:

# Remove about 100-300 MB of unused tar.bz2 archive files
# https://stackoverflow.com/questions/40241133
conda clean --all

# Manually delete about 1-2GB of downloaded packages, after install. See:
# https://groups.google.com/a/continuum.io/d/msg/anaconda/CZjcQKVmIgo/Xx3tYBYzCgAJ
du -sh /path/to/Miniconda/pkgs/  # Just display the folder size
rm -rf /path/to/Miniconda/pkgs/

# Manually delete the useless Pip cache of downloaded files. See:
# https://stackoverflow.com/questions/9510474/removing-pips-cache
rm -rf ~/.cache/pip           # Linux
rm -rf ~/Library/Caches/pip/  # Mac OS X
del %LocalAppData%\pip\Cache  # Windows

Direct links for info:


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>