Basic conda commands

In this sub-section, we will provide some basic conda commands for your reference. These commands assume that your virtual machine can access either the internet or a local Python repository.

In order to upgrade the version of conda and/or Anaconda as a whole, you can execute the following commands:

> conda update conda> conda update anaconda

To install or update individual Python packages, you can execute the following commands:

> conda install <name of Python package>> conda update <name of Python package>

Finally, in order to list the current Python packages and versions installed in your Anaconda distribution, you can execute the following command:

> conda list

To learn more about the conda package management system, ...

Get Machine Learning with Apache Spark Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.