Skip to content

Commit

Permalink
Update protobuf after python update for testing (#6638)
Browse files Browse the repository at this point in the history
This fixes the issue where python client has
`AttributeError: 'NoneType' object has no attribute 'enum_types_by_name'
errors after python version is updated.
  • Loading branch information
jbkyang-nvi authored Nov 29, 2023
1 parent 4b34a48 commit b96ae5f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions qa/L0_backend_python/setup_python_enviroment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,8 @@ apt-get update && apt-get -y install \
"python3.${PYTHON_ENV_VERSION}-distutils" \
libboost-dev
rm -f /usr/bin/python3 && \
ln -s "/usr/bin/python3.${PYTHON_ENV_VERSION}" /usr/bin/python3 && \
rm -r /usr/bin/python3.10
pip3 install --upgrade install requests numpy virtualenv
ln -s "/usr/bin/python3.${PYTHON_ENV_VERSION}" /usr/bin/python3
pip3 install --upgrade install requests numpy virtualenv protobuf
find /opt/tritonserver/qa/pkgs/ -maxdepth 1 -type f -name \
"tritonclient-*linux*.whl" | xargs printf -- '%s[all]' | \
xargs pip3 install --upgrade
Expand Down

0 comments on commit b96ae5f

Please sign in to comment.