mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
Fix binary size check build publish step. (#20298)
Add `--user` option to pip install command. Error: ``` ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/local/bin/f2py' Consider using the `--user` option or check the permissions. ``` See #19877.
This commit is contained in:
parent
6e4516cef9
commit
287ecea2f1
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ stages:
|
|||
echo "File not found: ${BINARY_SIZE_DATA_FILE}"
|
||||
exit 1
|
||||
fi
|
||||
/usr/bin/python3 -m pip install -r $(Build.SourcesDirectory)/tools/ci_build/github/windows/post_to_dashboard/requirements.txt && \
|
||||
/usr/bin/python3 -m pip install --user -r $(Build.SourcesDirectory)/tools/ci_build/github/windows/post_to_dashboard/requirements.txt && \
|
||||
/usr/bin/python3 $(Build.SourcesDirectory)/tools/ci_build/github/windows/post_binary_sizes_to_dashboard.py \
|
||||
--commit_hash=$(Build.SourceVersion) \
|
||||
--size_data_file="${BINARY_SIZE_DATA_FILE}" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue