Anaconda - The Beginning
Anaconda - The Beginning
Introduction
In this written tutorial, which includes images to guide you along the way, we’ll walk you through the
process of installing and setting up Anaconda and Jupyter Notebook on your system. You'll learn how to
create and manage a new environment, install essential data science libraries, and get Jupyter Notebook
up and running.
Don't worry if this isn't a visual tutorial! Written tutorials often provide a more detailed and thorough
explanation, ensuring you don't miss any crucial steps. Plus, you can easily refer back to the written
steps whenever needed. So, stick with us, and you'll have everything set up perfectly in no time.
Anaconda is a popular open-source distribution of Python and R for scientific computing and data
science. It simplifies package management and deployment, making it easier for users to install and
maintain software libraries.
Jupyter Notebook is an open-source web application that allows you to create and share documents
containing live code, equations, visualizations, and narrative text. It’s an essential tool for data analysis,
visualization, and machine learning, providing an interactive computing environment.
4. An Installation Link shall be sent to your Email ID (check Spam Folder as well).
8. Wait for Download to complete. Go to Download Folder (or wherever you have downloaded the
Anaconda Installation Setup). You shall find the Setup File. Double Click on it and Setup shall
start loading.
9. Once setup begins, keep on clicking “Next” button.
10. Once the window reaches a stage where “Finish” button is visible. Uncheck “Launch Anaconda
Navigator” and Uncheck “Getting Started with Anaconda Navigator” before clicking “Finish”.
You have now Anaconda installed in your System. Now we have to setup the System.
4. Type and run “conda env list” to find out about available environments.
a. “base” shall be only environment available after installing Anaconda.
b. “base” is the default environment of Anaconda
c. It is recommended not to use “base” environment as changes made to the base
environment can affect your entire system, including other applications that rely on
Python.
5. Create a separate environment isolated from the base environment so that:
a. You can isolate project dependencies
b. Avoid conflicts
c. Ensure reproducibility
d. Type and run “conda create -n <Your_Env_Name>” (I named my environment jafrienv, you
can name as per your liking), do not forget to type “y” when it asks to proceed.
6. Let us recheck the available environments. Notice that star is in front of base environment.
7. Type “conda activate <Your_Env_Name>” to shift from “base” environment to new environment.
(Notice that * shall be displayed in front of your new environment name when you type and run “conda env list” )
8. Type and run “conda install jupyter” to install the core Jupyter Notebook application inside your
new environment, do not forget to type “y” when it asks to proceed.
9. Type and run “conda install numpy pandas matplotlib seaborn scikit-learn scipy statsmodels” to
install the seven core Data Science Libraries available in Python, do not forget to type “y” when it
asks to proceed.
a. numpy: Provides efficient numerical operations and array manipulation.
b. pandas: Offers powerful data analysis and manipulation tools for structured data.
c. matplotlib: A versatile library for creating static, animated, and interactive visualizations.
d. seaborn: A high-level data visualization library based on Matplotlib, providing aesthetically
pleasing plots.
e. scikit-learn: A comprehensive machine learning library for tasks like classification,
regression, clustering, and model selection.
f. scipy: A collection of scientific computing algorithms and functions, including
optimization, integration, and signal processing.
g. statsmodels: A library for statistical modeling, including regression analysis, time series
analysis, and hypothesis testing.
11. Every thing required to pursue our Data Science Journey has been installed. Just type in “jupyter
notebook” now and it shall open a Jupyter Notebook using your default web browser.