Author : HASSAN MD TAREQ | Updated : 2023/07/20
Install python and pip
Install python
- Download and install python using Anaconda: https://www.anaconda.com/products/individual
- Or download and install python directly: https://www.python.org/downloads/
- Or install python using chocolatey:
choco install python -y
Install/update pip
python -m pip install --upgrade pip
(WARNING: The scripts pip.exe, … are installed in ‘C:\ProgramData\anaconda3\Scripts’ which is not on PATH)- In case of WARNING:
- Edit path environment variable, add followings
C:\ProgramData\anaconda3
C:\ProgramData\anaconda3\Scripts
- path environment variable: https://stackoverflow.com/a/55347012/4802664 (https://i.stack.imgur.com/kt5Yh.png)
- Restart PC
- Edit path environment variable, add followings
Check version
python --version
pip --version
Install JupyterLab
Install JupyterLab
- Anaconda: if you install python using Anaconda, then JupyterLab is already Installed
- Using pip:
pip install jupyterlab
- Using conda:
conda install -c conda-forge jupyterlab
Check JupyterLab version
jupyter lab --version
Launch JupyterLab
- Anaconda: Start Anaconda Navigator & Launch JupyterLab
- If installed by pip:
jupyter lab
Install pandas library
Installation
- Using pip:
pip install pandas
- Using conda:
conda install pandas
Check version (launch JupyterLab and paste following in a cell)
import pandas
pandas.__version__
More: https://pandas.pydata.org/docs/getting_started/install.html#installing-pandas