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

ImportError: cannot import name '_pafprocess' from 'tf_pose.pafprocess' #20

Open
ssz5450 opened this issue Mar 5, 2022 · 4 comments
Open

Comments

@ssz5450
Copy link

ssz5450 commented Mar 5, 2022

File "F:\SDXX\tfopenpose\openpose\tf_pose\pafprocess\pafprocess.py", line 13, in
from . import _pafprocess
ImportError: cannot import name '_pafprocess' from 'tf_pose.pafprocess'

@murasakirua
Copy link

Hello, I have the same problem. How do you solve it?

@AndresKlagges-OCL
Copy link

The solution here might be to build the c++ library, run the following commands:

  • cd tf_pose/pafprocess/
  • swig -python -c++ pafprocess.i
  • python setup.py build_ext --inplace

@dilwolf
Copy link

dilwolf commented Jun 9, 2024

Thank you, buddy. It worked on my ubuntu 22.04

@GenAI524
Copy link

for running on Windows, how to do?

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

5 participants