for checking the version of python (it comes with 2 pre-installed versions of python)
for python 2 use : python —version
for python 3 use : python3 —version
now install pip using command : sudo apt-get install python3-pip
if you are not connected to internet you will get error ‘unable to open lock’
Ran command : jtop
The jetson_stats.service is not active. Please run: sudo systemctl restart jetson_stats.service
Ran command : sudo systemctl restart jetson_stats.service
Failed to restart jetson_stats.service: Unit jetson_stats.service not found.