Python-RVO2
Python-RVO2 copied to clipboard
ImportError
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!
Hello, I also encountered this problem when importing the rvo2 package, how did you solve it?
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 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 torchvisionimport 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.
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 torchvisionimport rvo2
thank you