upgrade python3 latest version for raspberry pi code example Example: install pip on raspberry pi sudo apt-get update sudo apt-get install python-pip