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

PythonLibs is detecting by default 3.5.2(libpython3.5m.so) How, we can chage it to python2.7 (libpython2.7.so)? #34

Closed
sainisanjay opened this issue Feb 2, 2018 · 1 comment

Comments

@sainisanjay
Copy link

I build the PyOpenPose successfully and its detecting PythonLibs by default 3.5.2.
Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found version "3.5.2")

However, when i am trying to run the demo by running python ./OpLoop.py i am getting error:

import PyOpenPose as OP
ImportError: /home/cvsion/Deeplearning/Openpose_old/PyOpenPose-master/build/PyOpenPoseLib/PyOpenPose.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE

I am using Boost version 1.58.0. I have tried with un-installing Boost and install again but getting same error.

@sainisanjay
Copy link
Author

Issue solved by changing
find_package(PythonLibs REQUIRED) to find_package(PythonLibs 2.7 REQUIRED)

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

1 participant