Closed mathpopo closed 4 years ago
PYTHONPATH should work with conda. Do you have pose_extractor.so
inside pose_extractor/build
folder?
(base) @Nitro-AN515-52:~/Downloads/lightweight-human-pose-estimation-3d-demo.pytorch-master/pose_extractor$ find ./ -name "*.so" ./build/pose_extractor.so
i try lightweight-human-pose-estimation.pytorch no any questions
If you have pose_extractor/build
in your PYTHONPATH, it should work. Try in python:
import pose_extractor
dir(pose_extractor)
it should list extract_poses
, if not, then something went wrong. However I've checked on Ubuntu 16.04, 18.04 and it works smoothly.
Hey, check it out! :bomb: Now it can run without c++ module.
@
Hey, check it out! bomb Now it can run without c++ module. very thank you for help ,it is great work,well done.
export PYTHONPATH=pose_extractor/build/:$PYTHONPATH
but my evn is conda ,so from pose_extractor import extract_poses ImportError: cannot import name 'extract_poses'