Coding

Anaconda vs Python: Which One Should You Install?

Python is the programming language; Anaconda is a separate download that includes Python plus the conda package manager and a large collection of preinstalled packages. If you want the language and a small install, get Python from python.org and use pip; if you want a ready-made scientific setup managed by conda, install Anaconda or the smaller Miniconda.

The two are not competitors in the way the search phrase suggests. Anaconda contains Python, so the real choice is between two ways of getting and managing Python packages: the standard route (Python plus pip plus venv) and the conda route.

What is the difference between Anaconda and Python?

Python is the language and its reference interpreter, distributed by the Python Software Foundation. A plain Python install gives you the interpreter, the standard library, and pip for downloading third-party packages from PyPI. Nothing else is preinstalled.

Anaconda Distribution is a bundle. It installs a Python interpreter, the conda command, and a large set of packages that are ready to import. The conda documentation says Anaconda Distribution and Miniconda are preconfigured to use the Anaconda Repository as their package source, which matters for the licence section below.

In short, Python is one ingredient and Anaconda is a prepared meal that contains it.

Anaconda vs Python at a glance

Python (python.org)Anaconda DistributionMiniconda
What you getInterpreter, standard library, pipPython, conda, many preinstalled packagesPython and conda, with few packages
Package toolpipconda (pip also works)conda (pip also works)
Environmentspython -m venvconda createconda create
Disk space neededSmall; see the installer page for your versionMinimum 3 GB to download and install400 MB
Licence of the package sourcePyPI packages carry their own licencesAnaconda Terms of Service applyAnaconda Terms of Service apply

The 3 GB and 400 MB figures come from the conda installation documentation, which lists them as the disk space needed for Anaconda and for Miniconda or Miniforge respectively.

Which should you install?

Pick by what you are about to do, not by which name sounds more serious.

  • Learning Python, writing scripts, web or backend work: install Python from python.org (or the Microsoft Store on Windows) and create a venv per project. This is the path the official packaging guide documents. On Windows, the Windows install guide covers the details.
  • Data analysis or scientific computing, and you want everything in one download: Anaconda Distribution is built for this. You avoid installing each library one at a time.
  • You want conda environments but not 3 GB of packages: install Miniconda, which is the small installer, and add only what you need.
  • You work for a company: check the licence first (next section). If it is a problem, Miniforge is listed in the conda documentation next to Miniconda, though that page does not describe how Miniforge is configured, so read its own documentation before relying on it.

If you are a beginner with no scientific-computing goal, the plain Python route is the better default. It is smaller, it is what most Python tutorials and documentation assume, and a venv teaches the same isolation idea that conda environments use.

Is Anaconda free? The licence question

This is the part people most often miss. The conda documentation states that installing or using packages from the Anaconda repository is governed by the Anaconda Terms of Service, which means it "might require a commercial fee license". It lists exceptions for individuals, universities, and companies with fewer than 200 employees (as of September 2024).

Anaconda's pricing page, as fetched for this article, says organizations with 200 or more employees and contractors, counting affiliates, require a paid Business licence, listed at $50 per user per month. It also lists a free plan at $0 that includes commercial use of over 40,000 packages. The page does not say what the free plan's limits are for organizations under 200 people, and terms change, so treat these numbers as a snapshot and read the Terms of Service yourself.

Python itself has no such restriction, and neither does pip installing from PyPI, though each individual package has its own open source licence.

Environments: conda vs venv

Both tools solve the same problem: keeping one project's package versions from breaking another's. Here are the equivalent steps. Commands for conda are from the conda getting-started page, and commands for venv are from the Python Packaging User Guide.

With conda, you create an environment and add packages to it in one command:

conda create --name myenvironment python numpy pandas
conda activate myenvironment
conda install matplotlib
conda info --envs

The last command lists your environments; the active one is marked with an asterisk (*).

With venv and pip on Windows:

py -m venv .venv
.venv\Scripts\activate
py -m pip install requests

On macOS and Linux:

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install requests

The practical difference is where the environment lives and who manages it. A venv is a folder inside your project, usually named .venv, and it uses whichever Python created it. A conda environment is created by name through the conda command and is activated by that name. For a deeper walkthrough of the venv side, including the PowerShell execution policy error, see Python virtual environments (venv).

Can you use pip inside Anaconda?

Yes. A conda environment has its own Python, so pip run from an activated environment installs into that environment. The conda getting-started documentation describes conda as the tool for creating environments and installing packages from its repository; pip is the tool for PyPI. When a package exists in both places, pick one tool per environment where you can, because mixing them is the usual source of confusing version conflicts.

How to check which Python you are actually running

A common surprise after installing Anaconda is that python now points somewhere unexpected. Check before you debug anything else:

python --version
where python

On macOS and Linux, use which python instead of where python. The first path printed is the interpreter that runs when you type python. If you see a path inside an Anaconda or Miniconda folder when you expected the python.org install, a conda environment is active, or its installer added itself to your shell setup. Activate the environment you want, or call the interpreter by its full path.

On Windows there is a second source of confusion: the Microsoft Store alias that opens the Store when Python is missing. The execution aliases guide explains how to turn it off.

If you already installed the wrong one

Nothing is permanent. Python from python.org and Anaconda can be installed side by side, and each can be uninstalled from Windows Settings under Apps. Environments you created are folders and packages, not system changes, so recreate them with your requirements list. Before uninstalling, write down the packages you need. In an activated venv or conda environment, python -m pip freeze lists what pip installed. Then recreate the environment in the new tool and reinstall.

Frequently asked questions

Is Anaconda the same as Python?
No. Python is the programming language and its interpreter. Anaconda Distribution is a separate download that bundles a Python interpreter with the conda package manager and a large set of preinstalled packages. Installing Anaconda gives you Python, but installing Python does not give you Anaconda.
Can I have both Python and Anaconda installed?
Yes, they can coexist, but you should know which one a terminal is using. Run python --version and check where the command resolves (where python on Windows, which python on macOS and Linux). If the wrong interpreter appears first, activate the environment you want or use the full path to the interpreter.
Is Anaconda free to use?
It depends on who you are. The conda documentation says that using packages from the Anaconda repository is governed by the Anaconda Terms of Service and might require a commercial licence, with exceptions for individuals, universities and companies with fewer than 200 employees (as of September 2024). Anaconda's pricing page lists a paid Business plan for organizations of 200 or more employees. Read the current terms before using it at work.
Do I need Anaconda for data science?
No. Data science libraries such as numpy and pandas are ordinary Python packages that you can install with pip into a venv. Anaconda is a convenience that gives you many of them in one download, plus an environment manager, but it is not a requirement.

Sources