Fix PR slow CI suggestion: install transformers in a venv (#49558)
Fix PR slow CI suggestion: set up Python before installing transformers
The system pip/setuptools on ubuntu-22.04 fall back to `setup.py develop`
for `pip install -e .`, which tries to write to the non-writable system
site-packages and fails on every PR since #49549.