This issue has been identified with pip installation/changes in Ubuntu environment. You can use pip with ‘python -m’ at the front as in

$ python -m pip –version