Python-RVO2 icon indicating copy to clipboard operation
Python-RVO2 copied to clipboard

ImportError

Open ShelyH opened this issue 2 years ago • 4 comments
trafficstars

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!

ShelyH avatar May 10 '23 13:05 ShelyH

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

EVEREST-dlk avatar Nov 16 '23 11:11 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

ShelyH avatar Nov 17 '23 01:11 ShelyH

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 avatar Nov 17 '23 01:11 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

EVEREST-dlk avatar Nov 17 '23 01:11 EVEREST-dlk