首页 > 解决方案 > import PyOpenPose as OP ImportError: DLL load failed: 找不到指定的模块

问题描述

在 Windows 10 上工作

尝试设置pose2pose,它需要PyOpenPose和OpenPose才能运行,在下面的代码中不断遇到问题:

我已经将每个变量的每个组合添加到我的路径和我的 PYTHONPATH 中,甚至制作了 python37.pth 并将其定向到我的模块,但仍然没有。

编辑:在构建使用 Cmake 构建的 PyOpenPose 时,然后在 Visual Studio 2019 中,配置属性设置为 .dll 但没有创建 .dll,而是在 C:\Users\conta 中有一个 .lib、.exe 和 .pyd \Documents\GithubRepos\pyopenpose\build\PyOpenPoseLib\Release

Traceback (most recent call last):
  File "generate_train_data.py", line 5, in <module>
    import PyOpenPose as OP
ImportError: DLL load failed: The specified module could not be found.

标签: python-3.xdllmoduleopenpose

解决方案


推荐阅读