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