Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to do pip install intel_npu_acceleration_library #120

Open
andyyeh75 opened this issue Sep 3, 2024 · 0 comments
Open

failed to do pip install intel_npu_acceleration_library #120

andyyeh75 opened this issue Sep 3, 2024 · 0 comments

Comments

@andyyeh75
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

  [ 50%] Building CXX object CMakeFiles/intel_npu_acceleration_library.dir/src/bindings.cpp.o
  In file included from /tmp/pip-install-gp8hng2m/intel-npu-acceleration-library_eca732ef5cfd4569befaf0fd22540791/include/intel_npu_acceleration_library/inference.h:20,
                   from /tmp/pip-install-gp8hng2m/intel-npu-acceleration-library_eca732ef5cfd4569befaf0fd22540791/include/intel_npu_acceleration_library/nn_factory.h:7,
                   from /tmp/pip-install-gp8hng2m/intel-npu-acceleration-library_eca732ef5cfd4569befaf0fd22540791/src/bindings.cpp:6:
  /tmp/pip-install-gp8hng2m/intel-npu-acceleration-library_eca732ef5cfd4569befaf0fd22540791/include/intel_npu_acceleration_library/common.h:16:10: fatal error: openvino/runtime/intel_npu/properties.hpp: No such file or directory
     16 | #include "openvino/runtime/intel_npu/properties.hpp"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  gmake[2]: *** [CMakeFiles/intel_npu_acceleration_library.dir/build.make:76: CMakeFiles/intel_npu_acceleration_library.dir/src/bindings.cpp.o] Error 1
  gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/intel_npu_acceleration_library.dir/all] Error 2
  gmake: *** [Makefile:91: all] Error 2
  error: command '/usr/bin/cmake' failed with exit code 2
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> intel_npu_acceleration_library

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

To Reproduce
Steps to reproduce the behavior:
$ git clone https://github.com/intel/intel-npu-acceleration-library.git
$ cd intel-npu-acceleration-library
$ python3 -m venv myenv
$ source myenv/bin/activate
$ pip install intel_npu_acceleration_library

Screenshots
image
Desktop (please complete the following information):

  • OS: Ubuntu 22.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant