Update build_pip_package script to use the built in Python virtual environment tool.

See https://docs.python.org/3/library/venv.html for more information

PiperOrigin-RevId: 459806458
This commit is contained in:
Michael Reneer 2022-07-08 12:03:54 -07:00 committed by A. Unique TensorFlower
parent 27c07fa7b8
commit 8b698a7fea

View file

@ -36,7 +36,7 @@ main() {
fi
# Create a virtual environment
virtualenv --python=python3 "venv"
python3.9 -m venv "venv"
source "venv/bin/activate"
pip install --upgrade pip