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

ImportError #33

Open
ShelyH opened this issue May 10, 2023 · 4 comments
Open

ImportError #33

ShelyH opened this issue May 10, 2023 · 4 comments

Comments

@ShelyH
Copy link

ShelyH commented May 10, 2023

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!

@EVEREST-dlk
Copy link

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

@ShelyH
Copy link
Author

ShelyH commented Nov 17, 2023

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

@EVEREST-dlk
Copy link

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.

@EVEREST-dlk
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants