microsoft / onnxruntime-extensions

onnxruntime-extensions: A specialized pre- and post- processing library for ONNX Runtime
MIT License
323 stars 84 forks source link

Pip install fails for v0.8.0 #619

Open sgreene opened 10 months ago

sgreene commented 10 months ago

Trying to install the wheel for version 0.8.0 using the following command: python -m pip install git+https://github.com/microsoft/onnxruntime-extensions.git@v0.8.0

Getting the following errors:

 8 errors generated.
      [299/467] Building CXX object _deps/opencv-build/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o
      [300/467] Building CXX object _deps/opencv-build/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/bilateral_filter.dispatch.cpp.o
      [301/467] Building CXX object CMakeFiles/ocos_operators.dir/operators/tokenizer/tokenizers.cc.o
      [302/467] Building CXX object _deps/opencv-build/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o
      [303/467] Building CXX object CMakeFiles/ocos_operators.dir/operators/tokenizer/gpt2_tokenizer.cc.o
      [304/467] Building CXX object CMakeFiles/ocos_operators.dir/operators/tokenizer/clip_tokenizer.cc.o
      [305/467] Building CXX object _deps/opencv-build/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o
      [306/467] Building CXX object CMakeFiles/ocos_operators.dir/operators/tokenizer/roberta_tokenizer.cc.o
      [307/467] Building CXX object _deps/opencv-build/modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.dispatch.cpp.o
      ninja: build stopped: subcommand failed.
      error: command '/private/var/folders/sk/w8fcl_9x3h1ch3d77vnms07r0000gn/T/pip-build-env-zzyhqycu/overlay/bin/cmake' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for onnxruntime-extensions

System Details: