FORTH-ModelBasedTracker / MonocularRGB_3D_Handpose_WACV18

Using a single RGB frame for real time 3D hand pose estimation in the wild
164 stars 30 forks source link

Support for python3.6 #7

Open momo1986 opened 5 years ago

momo1986 commented 5 years ago

I uploaded and updated the library and necessary packages in Ubuntu18.

My environment is Python3.6.

However, it reports:

Traceback (most recent call last): File "handpose.py", line 18, in <module> import PyCeresIK as IK ImportError: libpython3.5m.so.1.0: cannot open shared object file: No such file or director

Looks like cannot be run.

I am not sure, whether the higher version support is enabled.

To run the boost library, I have installed boost.58 with lower version.

I am not sure whether python 3.6 and python 3.7 is enabled and supported, since python 3.5 is an older version.

Can a new library package be available?

Thanks

MDOSTI commented 4 years ago

Hi, I have the same issue.Could you please help me to solve it

nfsergiu commented 4 years ago

Can a new library package be available?

It would be very useful to have a new version of the closed source libraries, since they only work with python3.5 and the dependencies (boost, bullet, etc.) only have the required versions available in Ubuntu 16.04. Running in higher versions of Ubuntu, the dependencies versions required by the libraries in the "lib" directory are not available for install.

I have tinkered with it for the last 2 days to get it to work in a docker container starting from an image that had built openpose, but since it was based on Ubuntu 18.04, python3.6 was the default interpreter. I have managed to rebuild it and other dependencies as well with python3.5 using pyenv, but in the end I still run into import errors from the "lib" packages. I have also built boost from source to get the 1.58 version that was required, but then I ran into the same exact problem with libBullet*.so dependencies, since the version available in aptiutude in Ubuntu 18.04 (v2.87) is not compatible with the required one (v2.83). I then tried to build the bullet library from source, but in the end I could not make it produce the .so shared object files (which were imported from by the packages in the "lib" directory).

If anyone managed to get everything working (i.e. openpose (with its dependency caffe), pyopenpose and the current project) please explain how you did it and that are your system specifications.

Thanks!