0% found this document useful (0 votes)
9 views3 pages

Program 2

The document provides instructions for installing Python and essential libraries for numerical computing, including numpy, scipy, matplotlib, and pandas. It outlines steps for creating a virtual environment and activating it if installation errors occur. Additionally, it mentions how to start Python in interactive mode and install Jupyter Notebook.

Uploaded by

ammarali1306
Copyright
© All Rights Reserved
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% found this document useful (0 votes)
9 views3 pages

Program 2

The document provides instructions for installing Python and essential libraries for numerical computing, including numpy, scipy, matplotlib, and pandas. It outlines steps for creating a virtual environment and activating it if installation errors occur. Additionally, it mentions how to start Python in interactive mode and install Jupyter Notebook.

Uploaded by

ammarali1306
Copyright
© All Rights Reserved
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

PROGRAM 2

NUMERICAL COMPUTING WITH PYTHON


Installation of Python & Its Libraries
1. python3 --version
2. sudo apt install python3-pip -y
3. pip3 install numpy scipy matplotlib pandas
If above command gives error use below commands
 sudo apt install python3-venv -y(install venv support)
 python3 -m venv sci_env(Create virtual environment)
 source sci_env/bin/activate(activate environment)
 pip install numpy scipy matplotlib pandas(install libraries)
To start python interactive mode, use below command
python3
Import Numpy & its commands
Import Pandas & its commands

Import Matplotlib & its commands


Click on Ctrl + D
pip install notebook

Scientific Computing

You might also like