sehoonha / pydart2

A python binding of Dart, an open source simulation package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to import pydart2

edwardcen opened this issue · comments

I am using a conda virtualenv and am running into issues with import pydart2 on Ubuntu 16.04.

from . import pydart2_api as papi
ImportError: cannot import name 'pydart2_api'

As per #12, I have tried:

  1. virtualenvs in python 3.5, 3.6, 3.7
  2. install dartsim in 6.2.0, 6.3.0, 6.3.1, 6.8.2
  3. installing pydart2 via pip and building from source files
  4. setting export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/lib:/usr/local/lib per #17

I also tried installing dart from apt-get, but get a very long build error when running python setup.py build as in purdue-biorobotics/flappy#2.

Interestingly, the error messages are different for using dartsim 6.2 and 6.3 Though I can find no specific preference for 6.3.0, when using 6.2.0, the import error is

ImportError: libdart.so.6.3: cannot open shared object file: No such file or directory

while when using 6.3.0 or 6.3.1, the error message is

ImportError: /usr/local/lib/libdart.so.6.3: undefined symbol: _ZNK5boost9re_detail31cpp_regex_traits_implementationIcE9transformB5cxx11EPKcS4_

Thanks!

Same problem. Has anyone figured it out? Thanks!

Same problem