mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
Update install_deps_lort.sh to fix onnxscript installation (#19922)
Install onnxscript correctly with `pip install`. Dev dependencies are not required. ### Motivation and Context Fix build breaks.
This commit is contained in:
parent
32558134a9
commit
bcf47d3546
1 changed files with 1 additions and 2 deletions
|
|
@ -31,8 +31,7 @@ cd /usr/local/
|
|||
echo "Cloning ONNX Script"
|
||||
git clone --recursive https://github.com/microsoft/onnxscript.git
|
||||
cd onnxscript
|
||||
/opt/python/cp39-cp39/bin/python3.9 -m pip install -r requirements-dev.txt
|
||||
/opt/python/cp39-cp39/bin/python3.9 setup.py install
|
||||
/opt/python/cp39-cp39/bin/python3.9 -m pip install .
|
||||
cd ~ && /opt/python/cp39-cp39/bin/python3.9 -c "import onnxscript; print(f'Installed ONNX Script: {onnxscript.__version__}')"
|
||||
|
||||
cd /usr/local
|
||||
|
|
|
|||
Loading…
Reference in a new issue