Anaconda is a popular distribution of Python and R for data science and machine learning. Here's a step-by-step guide on how to install it on your system.
-
Download the Anaconda Installer:
-
Visit the official Anaconda website.
-
Download the appropriate installer for your Windows system (Python 3.x version is recommended for most data science tasks).
-
-
Run the Installer:
-
Double-click the downloaded installer file to start the installation process.
-
Follow the on-screen instructions.
-
Important: Make sure to check the box for "Add Anaconda to your PATH environment variable" during the installation. This will allow you to use Anaconda commands directly from your terminal.
-
-
Verify the Installation:
- Open the Anaconda Navigator: This is a graphical user interface for managing Anaconda packages and environments.
-
Download the Anaconda Installer:
-
Visit the official Anaconda website.
-
Download the installer for macOS.
-
-
Run the Installer:
-
Double-click the downloaded installer file.
-
Follow the on-screen instructions.
Important: Make sure to check the box for "Add Anaconda to your PATH environment variable" during the installation. This will allow you to use Anaconda commands directly from your terminal.
-
-
Verify the Installation:
-
Open the Terminal (the Terminal app is located in the Applications/Utilities folder.
Type the following command in the terminal:
conda --version
-
-
Download the Anaconda Installer:
-
Visit the official Anaconda website.
-
Download the Linux installer (usually a .sh file).
-
-
Open the Terminal:
- Press Ctrl+Alt+T to open a terminal window.
-
Run the Installer:
-
Navigate to the download directory in your terminal:
cd Downloads
-
Run the installer with root privileges:
sudo bash Anaconda3-2023.05-Linux-x86_64.sh
Replace Anaconda3-2023.05-Linux-x86_64.sh with the actual filename of the downloaded installer.
-
Follow the on-screen instructions. You'll be asked to read the license agreement and choose the installation type.
Important: Make sure to add Anaconda to your PATH during the installation process. This will allow you to use Anaconda commands directly from your terminal.
-
-
Verify the Installation:
- Open a new terminal window and type:
conda --version
- Open a new terminal window and type:
-
Run a Anaconda session
- Press Ctrl+Alt+T to open a terminal window and type:
anaconda-navigator
- Press Ctrl+Alt+T to open a terminal window and type:
While Anaconda comes with a base environment, it's often recommended to create separate environments for different projects to avoid package conflicts.
-
Click Environment tab on the left side of Anaconda environment and click Create button from the buttons at the bottom of the page
-
Write a name for the new environment and choose the version of Python.