Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 0f6955b

Browse files
afrozenatorcopybara-github
authored andcommitted
Latest pip has some bug, so invoke as python -m pip install X rather than pip install X
PiperOrigin-RevId: 289170283
1 parent 15e0be6 commit 0f6955b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

oss_scripts/oss_release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ git clone https://github.com/tensorflow/tensor2tensor.git
1414
cd tensor2tensor
1515
git checkout $GIT_COMMIT_ID
1616

17-
pip install wheel twine pyopenssl
17+
# Without `python -m` we sometimes get module not callable error:
18+
# https://stackoverflow.com/questions/58451650/pip-no-longer-working-after-update-error-module-object-is-not-callable
19+
python -m pip install wheel twine pyopenssl
1820

1921
# Build the distribution
2022
echo "Building distribution"

0 commit comments

Comments
 (0)