python3 install package code example

Example 1: pip python3

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Example 2: pip install python 3

You cannot just pip install python3 because it is not a library.

If you want to install the latest python3:
https://www.python.org/ftp/python/3.8.2/python-3.8.2.exe

Example 3: pip install python 3

python -m pip install <package>

#Download Selenium
python -m pip install selenium

Example 4: how to install dependencies python

# Use PowerShell, Bash, CMD, etc.
pip install foo-pkg

# Automatically installs dependencies!