Merge install_tools.sh python dependency pinning from 'expected_upstream' branch

Bug: 233388364
Test: source tools/expected_upstream/install_tools.sh
Change-Id: Idf70f2a1bbca6d5929418ba52c0c3111fef4ec4f