install pandas with pip code example Example 1: install pandas pip install pandas Example 2: pandas python3 only sudo apt-get install python3-pandas