I was trying to use Openpose from windows using https://github.com/CMU-Perceptual-Computing-Lab/openpose. But while I run a .py file it returned an error message
Error: OpenPose library could not be found. Did you enable `BUILD_PYTHON` in CMake and have this Python script in the right folder?
No module named 'pyopenpose'
An exception has occurred, use %tb to see the full traceback.
Traceback (most recent call last):
File "C:\Users\Santanu\Desktop\openpose\python\01_body_from_image.py", line 19, in <module>
raise e
File "C:\Users\Santanu\Desktop\openpose\python\01_body_from_image.py", line 16, in <module>
import pyopenpose as op
ModuleNotFoundError: No module named 'pyopenpose'
During handling of the above exception, another exception occurred:
SystemExit: -1
It has suggested from the error text to enable 'BUILD_PYTHON'
in CMake
and also said here. But I have never used CMake before. How to enable 'BUILD_PYTHON'
in CMake
?