The document provides steps to install Python 3.10, Anaconda, Jupyter Notebook, and various Python packages like Pandas and NumPy. It explains how to verify the Python version, download and install Anaconda, launch Jupyter Notebook, create a new notebook, install packages, and run a sample Python program to test the installation.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
18 views3 pages
Software Requirements
The document provides steps to install Python 3.10, Anaconda, Jupyter Notebook, and various Python packages like Pandas and NumPy. It explains how to verify the Python version, download and install Anaconda, launch Jupyter Notebook, create a new notebook, install packages, and run a sample Python program to test the installation.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
REQUIRED SOFTWARE
INSTALLATION
Software required to practice the content of the LLM courses, you
must install Python 3.10 and the Jupyter Notebook IDE. Anaconda, which can be downloaded and installed, conveniently includes Python as well. Here's how you can verify the installed Python version:
• Open Anaconda prompt window.
• Type python --version and press Enter. • The installed Python version will be displayed in the output. Here are the steps to install Anaconda and run a sample program in jupyter notebook:
Step 1: Download and install Anaconda:
• Go to the Anaconda website (https://www.anaconda.com/products/individual) and download the latest version of Anaconda for Windows. • Run the Anaconda installer and follow the installation instructions. Choose the default options unless you have specific preferences.
Step 2: Open Anaconda Prompt:
• Once Anaconda is installed, open the Anaconda Prompt from the Start menu. This will open a command prompt window specifically configured for Anaconda. Step 3: Install Jupyter Notebook: • In the Anaconda Prompt, run the following command to install Jupyter Notebook: conda install jupyter
Step 4: Launch Jupyter Notebook:
• In the Anaconda Prompt, run the following command to launch Jupyter Notebook: jupyter notebook This will start the Jupyter Notebook server and open a new tab in your default web browser.
Step 5: Create a new notebook:
• In the Jupyter Notebook interface, click on the "New" button on the right side and select "Python 3" (or any other kernel you prefer) from the drop-down menu. This will create a new notebook file with the ".ipynb" extension.
Step 6: Install packages by writing the below
commands: !pip install python-dotenv !pip install openai !pip install pandas !pip install numpy !pip install requests Step 7: Write and run a sample program: • In the first cell of the notebook, you can write your Python code. For example, you can import Pandas and NumPy and create a simple DataFrame: print("Hello, World!") • To run the code in the cell, either click the "Run" button in the toolbar or press Shift + Enter. The output of the program will appear below the cell.
That's it! You have successfully installed Jupyter Notebook
using Anaconda, installed Pandas and NumPy, and run a sample program. You can continue writing and executing code in different cells of the notebook, save your work, and explore the various features of Jupyter Notebook for interactive coding and data analysis.