Installing a package in Python is a simple process. Here are the steps to follow:
pip install <package name>
and press enter.pip list
and press enter. This will list all the packages installed in your Python environment.That's it! You have successfully installed a package in Python.