pydart2
pydart2 copied to clipboard
Unable to import pydart2
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 https://github.com/sehoonha/pydart2/issues/12, I have tried:
- virtualenvs in python 3.5, 3.6, 3.7
- install dartsim in 6.2.0, 6.3.0, 6.3.1, 6.8.2
- installing pydart2 via pip and building from source files
- setting
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/lib:/usr/local/lib
per https://github.com/sehoonha/pydart2/issues/17
I also tried installing dart from apt-get, but get a very long build error when running python setup.py build
as in https://github.com/purdue-biorobotics/flappy/issues/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