Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Building python wheel failed

redradist
Novice
746 Views

I tried to build OpenVINO 2021-3 with building wheel with the following options:

 

-DVERBOSE_BUILD=ON -DCMAKE_BUILD_TYPE=Debug -DENABLE_PYTHON=ON -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DENABLE_WHEEL=ON

 

And I got the following error:

 

 

make[2]: *** No rule to make target 'inference-engine/ie_bridges/python/wheel/_pyngraph', needed by 'inference-engine/ie_bridges/python/wheel/CMakeFiles/ie_wheel'. Stop.

 

 

maybe I missed some option ?

0 Kudos
2 Replies
Zulkifli_Intel
Moderator
695 Views

Hello Denis Kotov,


Greetings to you.


We suggest you to try these flags:


cmake -DCMAKE_BUILD_TYPE=Release \

-DCMAKE_INSTALL_PREFIX=/home/pi/openvino_dist \

-DVERBOSE_BUILD=ON \

-DENABLE_MKL_DNN=OFF \

-DENABLE_CLDNN=OFF \

-DENABLE_GNA=OFF \

-DENABLE_SSE42=OFF \

-DTHREADING=SEQ \

-DENABLE_OPENCV=OFF \

-DNGRAPH_PYTHON_BUILD_ENABLE=ON \

-DNGRAPH_ONNX_IMPORT_ENABLE=ON \

-DENABLE_PYTHON=ON \

-DPYTHON_EXECUTABLE=$(which python3.7) \

-DPYTHON_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython3.7m.so \

-DPYTHON_INCLUDE_DIR=/usr/include/python3.7 \

-DENABLE_WHEEL=ON

-DCMAKE_CXX_FLAGS=-latomic ..

 

make -j4 && sudo make install


Regards,

Zulkifli


0 Kudos
Zulkifli_Intel
Moderator
662 Views

Hi Denis Kotov,


This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.


Regards,

Zulkifli


0 Kudos
Reply