Step-by-Step Guide: Anaconda Installation for Windows 64-
bit
Prerequisite
Disk Space: At least 3 GB of free disk space (the installer itself is large, and installed
packages will take up more).
Installation Steps
Step 1: Download the Anaconda Installer
1. Open your web browser and go to the official Anaconda Distribution download page:
[Link]
2. Scroll down to the "Anaconda Installers" section.
3. Locate the Windows section. You'll see options for 64-bit and sometimes 32-bit graphical
installers.
4. Click the "64-Bit Graphical Installer" link for the latest Python 3.x version. This will
start the download of an .exe file (e.g., Anaconda3-2024.02-1-Windows-x86_64.exe –
the version numbers will change over time).
5. The file is large (typically 500 MB - 1 GB), so the download might take some time
depending on your internet speed.
Step 2: Run the Anaconda Installer
1. Once the download is complete, locate the downloaded .exe file (it's usually in your
"Downloads" folder).
2. Double-click the .exe file to start the Anaconda setup wizard.
3. Welcome Screen: Click "Next".
4. License Agreement: Read the license terms and click "I Agree" to proceed.
5. Installation Type:
o "Just Me" (Recommended for most users): Installs Anaconda only for your
current user account. This is generally the safest option as it doesn't require
administrator privileges and avoids potential conflicts with other Python
installations for other users.
o "All Users": Installs Anaconda for all users on the computer. This option requires
administrator privileges and is less common for personal use.
o Select "Just Me" and click "Next".
6. Destination Folder:
o Anaconda will suggest a default installation location (e.g.,
C:\Users\YourUsername\anaconda3).
o It's highly recommended to accept the default path. Avoid paths with spaces
or special characters, as this can sometimes cause issues with certain Python
packages.
o Click "Next".
7. Advanced Installation Options: This is a crucial step!
o "Register Anaconda as my default Python 3.x" (RECOMMENDED): This
ensures that if you have multiple Python installations, Anaconda's Python will be
the default one used by applications that look for Python 3. Keep this checked.
o Click "Install".
Step 3: Complete the Installation
1. The installation process will begin. This can take several minutes as many packages are
being installed. You will see a progress bar.
2. Once the installation is complete, you'll see a "Completed" screen.
3. Click "Next".
4. You might see an optional screen promoting PyCharm or other IDEs. You can click "Next"
or uncheck the options if you don't want to learn more about them right now.
5. Final Screen: Click "Finish". You can uncheck the boxes for "Learn more about Anaconda
Distribution" and "Learn how to get started with Anaconda" if you don't want to open those
web pages immediately.
Step 4: Verify Your Installation
It's important to verify that Anaconda was installed correctly.
Option 1: Using Anaconda Navigator (Graphical)
1. Search for "Anaconda Navigator" in your Windows Start Menu.
2. Click on "Anaconda Navigator (Anaconda3)" to open it.
3. Anaconda Navigator may take a little time to load on the first launch. If it opens
successfully and you see the various applications (Jupyter Lab, Jupyter Notebook,
Spyder, etc.), your installation is successful.
Option 2: Using Anaconda Prompt (Command Line)
1. Search for "Anaconda Prompt" in your Windows Start Menu.
2. Click on "Anaconda Prompt (Anaconda3)" to open a special command prompt configured
for Anaconda.
3. In the Anaconda Prompt, type the following command and press Enter:
conda --version
You should see the installed conda version (e.g., conda 23.11.0).
4. Next, type:
python --version
This should show the Python version installed by Anaconda (e.g., Python 3.9.18).
5. You can also type conda list to see all the pre-installed packages.
Prompt and
Navigator
If these commands run without errors and display version information, Anaconda is correctly
installed on your 64-bit Windows system.
Installing Jupyter Notebook Using Command Prompt
(CMD) + Pandas and Numpy
Prerequisites:
1. Python Installed: You need Python 3.x installed on your system.
o To check if Python is installed and added to your PATH, open CMD and type:
python --version
If you see a version number (e.g., Python 3.10.4), you're good. If not, you'll need
to install Python first from [Link] and “ensure "Add Python to PATH" is
selected during installation.”
2. pip (Python's package installer): pip usually comes bundled with Python installations.
You can check its version with:
pip --version
Step-by-Step Installation
Step 1: Open Command Prompt
1. Press the Windows key + R to open the Run dialog.
2. Type cmd and press Enter, or search for "Command Prompt" in your Start Menu and open
it.
Step 2: Install Jupyter Notebook
The most straightforward way to install Jupyter Notebook is using pip.
1. In the Command Prompt window, type the following command (1-By-1) and press Enter:
pip install notebook
pip install numpy pandas matplotlib
o Explanation:
pip: This is Python's package installer.
install: This command tells pip to install a package.
notebook: This is the name of the package for Jupyter Notebook. Installing
notebook will also pull in all its necessary dependencies.
2. Wait for the installation to complete. You will see a lot of text scrolling by as pip
downloads and installs Jupyter Notebook and its dependencies.
Step 3: Launch Jupyter Notebook
1. Once the installation is complete, you can launch Jupyter Notebook from the Command
Prompt.
2. Type the following command and press Enter:
jupyter notebook
3. What happens next:
o A server will start running in your Command Prompt window. Do not close this
window.
o Your default web browser will automatically open a new tab/window, navigating
to [Link] (or a similar address with a different port if
8888 is in use). This is your Jupyter Notebook interface.
Setting Up Python, NumPy, and Pandas in VS Code
This guide will walk you through installing Python, the necessary VS Code extension, and then
the NumPy and Pandas libraries.
Part 1: Install Python
First things first, you need Python installed on your Windows machine.
1. Download Python Installer:
o Open your web browser and head to the official Python download page for
Windows: [Link]
o Look for the latest stable Python 3.x.x release (e.g., Python 3.12.x).
o Click on the "Windows installer (64-bit)" link to download the executable (.exe)
file.
2. Run the Python Installer:
o Once downloaded, locate and double-click the Python installer .exe file (e.g.,
[Link]).
o Crucial Step: On the very first installation screen, make sure to check the box
that says "Add [Link] to PATH". This is essential, as it lets you run Python
and pip commands directly from your command prompt or VS Code terminal.
o After checking the box, click "Install Now".
o Let the installation process complete. It might take a few minutes.
o Once you see the "Setup was successful" message, click "Close."
3. Verify Python Installation:
o Open your Command Prompt (search for cmd in your Start Menu and open it).
o In the Command Prompt, type python --version and hit Enter. You should see the
Python version printed (e.g., Python 3.12.2).
o Next, check if pip (Python's package installer) is working by typing pip --version
and pressing Enter. You should see the pip version.
o If both commands show versions without errors, Python is installed correctly and
ready to go.
Part 2: Install the Python Extension in VS Code
VS Code needs a dedicated extension to properly understand and work with Python code.
1. Launch VS Code: Open Visual Studio Code from your Start Menu.
2. Open Extensions View:
o In the left-hand sidebar of VS Code, click on the Extensions icon (it looks like four
squares, with one flying off). Alternatively, you can press Ctrl+Shift+X.
3. Search for "Python":
o In the search bar at the top of the Extensions view, type Python.
o The first result should be the official "Python" extension by Microsoft. It's
usually the one with the highest number of downloads.
4. Install the Extension:
o Click the "Install" button next to the "Python" extension.
o This will add powerful features like code highlighting, linting, debugging, and
intelligent code completion (IntelliSense) for Python.
Part 3: Install NumPy and Pandas in VS Code's Integrated Terminal
With Python installed and VS Code ready, it's time to add the libraries you need. We'll use VS
Code's integrated terminal, which automatically uses the Python environment you just set up.
1. Open a Folder in VS Code:
o Go to File > Open Folder... and choose a folder where you want to keep your
Python projects (e.g., create a new folder called MyPythonProjects on your
desktop). This helps keep your projects organized.
2. Open the Integrated Terminal:
o Go to Terminal > New Terminal in the VS Code menu.
o A terminal panel will open at the bottom of your VS Code window. It should
indicate your current directory (the folder you just opened) and show that it's using
PowerShell or Command Prompt.
3. Install NumPy and Pandas:
o In the VS Code integrated terminal, type the following command and press Enter:
pip install numpy pandas
o pip will download and install NumPy, Pandas, and any other libraries they rely on.
This process might take a moment or two.
o You'll see messages indicating successful installation, for example: Successfully
installed numpy-x.x.x pandas-x.x.x ...
Part 4: Verify Your Installation in VS Code
Let's make sure everything is working as expected.
1. Create a New Python File:
o Go to File > New Text File (or press Ctrl+N).
o Save this empty file as test_libraries.py inside the project folder you opened
earlier.
2. Add Test Code:
o Copy and paste the following code into your test_libraries.py file:
import pandas as pd
import numpy as np
print("NumPy and Pandas are imported successfully!")
# Test NumPy
arr = [Link]([1, 2, 3, 4, 5])
print("NumPy array:", arr)
print("Sum of array elements:", [Link](arr))
# Test Pandas
data = {'Name': ['Alice', 'Bob', 'Charlie'],
'Age': [25, 30, 35],
'City': ['New York', 'London', 'Paris']}
df = [Link](data)
print("\nPandas DataFrame:")
print(df)
print("\nAll good! You're ready to start coding.")
3. Run the Python File:
o With test_libraries.py open in the editor, click the "Run Python File" play
button located in the top-right corner of the VS Code window.
o Alternatively, you can right-click anywhere within the test_libraries.py file
and select "Run Python File in Terminal".
4. Check the Output:
o The VS Code integrated terminal will execute your script. You should see output
similar to this, confirming that NumPy and Pandas were successfully imported and
used:
NumPy and Pandas are imported successfully!
NumPy array: [1 2 3 4 5]
Sum of array elements: 15
Pandas DataFrame:
Name Age City
0 Alice 25 New York
1 Bob 30 London
2 Charlie 35 Paris
All good! You're ready to start coding.
o If you encounter a ModuleNotFoundError (e.g., No module named 'numpy'),
double-check that you correctly ran the pip install numpy pandas command in
the VS Code terminal. Also, ensure that VS Code is using the correct Python
interpreter (you can see which one it's using in the bottom-left corner of the VS
Code status bar).