Skip to content

python

python3.8 is default opgenomen in linux mint 20

pip

pip is the python installer / package manager , to add modules , libraries etc
first install the manager :
sudo apt install python3-pip

list installed modules + version

pip3 list
pip3 list | grep 'selenium'

install a library / etc

 pip install xxx 
 ? pip3 install xxx 

upgrade PIP package to latest version

pip3 install --upgrade xxx

upgrade the PIP manager itself

pip install --upgrade pip
this command does not work anymore, updated new method :
python python3 -m pip install --upgrade pip or /usr/bin/python3 -m pip install --upgrade pip

pip install tk
pip install tkinter ==> no matching distribution

sudo apt-get install python3-tk

pip install --user ==> app gets in ~/.local/bin