Add anaconda commands to list environments, update packages, and cleanup old packages and tarballs.

This commit is contained in:
Donne Martin 2015-04-12 18:39:13 -04:00
parent 2b043c6c50
commit d3963b5481

View File

@ -38,6 +38,9 @@
"# See Anaconda installed packages\n",
"!conda list\n",
"\n",
"# List environments\n",
"!conda info -e\n",
"\n",
"# Create Python 3 environment\n",
"!conda create -n py3k python=3 anaconda\n",
"\n",
@ -51,7 +54,23 @@
"!conda update conda\n",
"\n",
"# Update a package with Anaconda\n",
"!conda update ipython"
"!conda update ipython\n",
"\n",
"# Update a package\n",
"!conda update scipy\n",
"\n",
"# Update all packages\n",
"!conda update all\n",
"\n",
"# Install specific version of a package\n",
"!conda install scipy=0.12.0\n",
"\n",
"# Cleanup: Conda can accumulate a lot of disk space\n",
"# because it doesnt remove old unused packages\n",
"!conda clean -p\n",
"\n",
"# Cleanup tarballs which are kept for caching purposes\n",
"!conda clean -t"
]
},
{