Skip to content

ImportError #33

Open
Open

Description

@ShelyH

ImportError: /home/xxxxx/anaconda3/envs/hhd_pytorch/lib/python3.6/site-packages/pyrvo2-0.0.0-py3.6-linux-x86_64.egg/rvo2.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZSt28__throw_bad_array_new_lengthv
I get this error when I import rvo2, how do I fix it? Thanks!

Activity

  1. EVEREST-dlk commented on Nov 16, 2023

    @EVEREST-dlk

    Hello, I also encountered this problem when importing the rvo2 package, how did you solve it?

  2. ShelyH commented on Nov 17, 2023

    @ShelyH
    Author

    I found that this conflicted with some of the libraries in torch or torchvion, I solved this by importing torchvion before importing rvo2 and this was able to run on my ubuntu.

    import torchvision
    import rvo2

  3. EVEREST-dlk commented on Nov 17, 2023

    @EVEREST-dlk

    I found that this conflicted with some of the libraries in torch or torchvion, I solved this by importing torchvion before importing rvo2 and this was able to run on my ubuntu.

    import torchvision import rvo2

    I have solved this problem yesterday. Windows can not solve the import rvo2 import error problem, and I installed the rvo2 package by running python setup.py build and python setup.py install on the ubuntu terminal.

  4. EVEREST-dlk commented on Nov 17, 2023

    @EVEREST-dlk

    I found that this conflicted with some of the libraries in torch or torchvion, I solved this by importing torchvion before importing rvo2 and this was able to run on my ubuntu.

    import torchvision import rvo2

    thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions