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

Unable to import pydart2 #24

Open
edwardcen opened this issue Oct 3, 2019 · 2 comments
Open

Unable to import pydart2 #24

edwardcen opened this issue Oct 3, 2019 · 2 comments

Comments

@edwardcen
Copy link

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 Using pydart with dart 6.4? #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!

@chenxgu
Copy link

chenxgu commented Mar 5, 2020

Same problem. Has anyone figured it out? Thanks!

@Ericcsr
Copy link

Ericcsr commented Jan 9, 2022

Same problem

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

4 participants
@edwardcen @chenxgu @Ericcsr and others