0

我试图使用https://github.com/CMU-Perceptual-Computing-Lab/openpose从 Windows 使用 Openpose 。但是当我运行一个 .py 文件时,它返回了一条错误消息

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

它已从错误文本中建议启用'BUILD_PYTHON'inCMake在此处表示。但我以前从未使用过 CMake。如何'BUILD_PYTHON'启用CMake

4

0 回答 0