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

CMake Error at CMakeLists.txt:11 (message): NumPy headers not found #1108

Closed
biyuehuang opened this issue May 15, 2020 · 2 comments
Closed

Comments

@biyuehuang
Copy link

Hi,
Windows 10, Openvino 2020.2. I use open_model_zoo\demos\python_demos\human_pose_estimation_3d_demo, refer to https://github.com/opencv/open_model_zoo/blob/master/demos/README.md#build-the-demo-applications, my command as following:

cd C:\Program Files (x86)\IntelSWTools\openvino\bin\
setupvars.bat
cd C:\Program Files (x86)\IntelSWTools\openvino_2020.2.177\deployment_tools\open_model_zoo\demos\python_demos\human_pose_estimation_3d_demo\pose_extractor
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON=ON "C:\Program Files (x86)\IntelSWTools\openvino_2020.2.117\deployment_tools\open_model_zoo\demos\python_demos\human_pose_estimation_3d_demo\pose_extractor"

and get error:

-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:11 (message):
  NumPy headers not found


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.15)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "C:/Program Files (x86)/IntelSWTools/openvino_2020.2.117/deployment_tools/open_model_zoo/demos/python_demos/human_pose_estimation_3d_demo/pose_extractor/CMakeFiles/CMakeOutput.log".
@Wovchena
Copy link
Collaborator

Try python -m pip install numpy and recompiling after.

BTW you are not supposed to run pose_extractor's cmake directly. This approach is not going to work with later releases. It is safer to run demos root cmake.

@IRDonch
Copy link

IRDonch commented Jul 15, 2020

Closing due to inactivity.

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

3 participants