get installed pip packages python on code code example
Example 1: install packages with pip from python
pip3 install <package_name>
Example 2: pip upgrade python
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}
pip3 install <package_name>
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}