Open yukun7273 opened 3 years ago
Received the same error. Did you find a solution?
ModuleNotFoundError: No module named 'pyopenpose'
I found same error, but similar reason. Recompile openpose, problem solved. Hope this helps.
The same problem I met too. The solution is replace the document "pyopenpose.cp36-win_amd64" which is in the \OpenPose\Release with your own "pyopenpose" file. For example, I use "pyopenpose.cp39-win_amd64" which was generated in the openpose project before. '39'means python3.9. So then make a env with python3.9 not python3.6 said here for this project. Do not pip install -r requirments.txt if the python version is not 3.6. Delete the version information in the requirements.txt ,and then pip install it. It definitely will work.
You may meet the error about opWrapper.emplaceAndPop([Datum]). The solution is add the code
vectorDatum = op.VectorDatum([datum]) return datum, opWrapper, vectorDatum in the end of _"def openposeinit" in util.py
and then modify the _def getVideoStream in apphelper.py ,add vectorDatum as a input parameter.
That's all!
@braveheartwills This is what I got following your steps. The import problem is fixed now, but the above problem comes up. Any idea what is happening? What should I do next?
These are pictures of the code I added in util.py and app_helper.py. I don't really know much about Python, hope I did it correctly.
Sorry I don't know how to paste pictures here, so if you haven't solved the problem, sending email to me directly is all right. My email is "wills&&sunbowtec.com" . replace && with @.
@braveheartwills This is what I got following your steps. The import problem is fixed now, but the above problem comes up. Any idea what is happening? What should I do next?
Sorry I don't know how to paste pictures here, so if you haven't solved the problem, sending email to me directly is all right. My email is "wills&&sunbowtec.com" . replace && with @.
I also encountered the import problem of openpose, but his error message is as follows, showing that the dll loading failed: Can not find the corresponding module, do not know what solution?
One solution is to compile from source the OpenPose project and copy the appropriate file from below for your specific python version.
Windows: /OpenPose/Release/pyopenpose.cp36-win_amd64.pyd or Linux: /OpenPose/openpose/pyopenpose.cpython-36m-x86_64-linux-gnu.so
Sorry I don't know how to paste pictures here, so if you haven't solved the problem, sending email to me directly is all right. My email is "wills&&sunbowtec.com" . replace && with @.
@braveheartwills This is what I got following your steps. The import problem is fixed now, but the above problem comes up. Any idea what is happening? What should I do next?
Sorry I don't know how to paste pictures here, so if you haven't solved the problem, sending email to me directly is all right. My email is "wills&&sunbowtec.com" . replace && with @.
I also encountered a similar problem, following your steps did not work, displaying the same error message. I have already practiced with you through email.
When i run the project, i meet the