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

top_pool.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs #52

Open
lijunling opened this issue May 6, 2019 · 14 comments

Comments

@lijunling
Copy link

master/core/models/py_utils/_cpools/init.py", line 6, in
import top_pool, bottom_pool, left_pool, right_pool
xxxx/lib/python3.7/site-packages/cpools-0.0.0-py3.7-linux-x86_64.egg/top_pool.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs
my gcc is 6.1.0

@lg920810
Copy link

lg920810 commented May 7, 2019

Have you compiled sucessfully?

@lijunling
Copy link
Author

yes,when I run demo.py ,it throws the error.

@dmxj
Copy link

dmxj commented May 7, 2019

you can try re-pull the code and build it again

@arcral
Copy link

arcral commented May 7, 2019

I built the latest code, and also met question like this.
ImportError: /root/.local/lib/python3.6/site-packages/cpools-0.0.0-py3.6-linux-x86_64.egg/top_pool.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZTIN3c1021AutogradMetaInterfaceE

centos7
python 3.6.5
cuda 10.0
PyTorch 1.0.0
gcc 5.3.1

@wcg5262
Copy link

wcg5262 commented May 9, 2019

I have same problem when run demo.py.
Traceback (most recent call last):
File "demo.py", line 4, in
from core.detectors import CornerNet_Saccade
File "/root/wcg/CornerNet-Lite-master/core/detectors.py", line 1, in
from .base import Base, load_cfg, load_nnet
File "/root/wcg/CornerNet-Lite-master/core/base.py", line 3, in
from .nnet.py_factory import NetworkFactory
File "/root/wcg/CornerNet-Lite-master/core/nnet/py_factory.py", line 7, in
from ..models.py_utils.data_parallel import DataParallel
File "/root/wcg/CornerNet-Lite-master/core/models/py_utils/init.py", line 1, in
from ._cpools import TopPool, BottomPool, LeftPool, RightPool
File "/root/wcg/CornerNet-Lite-master/core/models/py_utils/_cpools/init.py", line 6, in
import top_pool, bottom_pool, left_pool, right_pool
ImportError: /root/.local/lib/python3.7/site-packages/cpools-0.0.0-py3.7-linux-x86_64.egg/top_pool.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN2at19UndefinedTensorImpl10_singletonE

I change the pytorch to 0.4.1 because my cuda is 9.0.

@SeeeeShiwei
Copy link

How to solve it? Thanks

@andyhahaha
Copy link

I have the same error.
gcc 5.4.0

@feiyuhuahuo
Copy link

feiyuhuahuo commented May 16, 2019

If comes with this error:undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs, follow 'Getting started' to create a new environment. Try not to run in your old environment, because it's easy to meet environment incompatible problem. I ran the demo firstly in my own environment and it appears error. Then I create a new environment and do as the 'Getting started' told, it works succesfully.

@njustymk
Copy link

怎么解决,我以前是重新编译了一下,但是现在好像重新编译也不行了

@LewX
Copy link

LewX commented Jun 14, 2019

How to solve it?

@caikw0602
Copy link

Yes, the same problem.

@njustymk
Copy link

njustymk commented Nov 4, 2019

the same problem. How to solve it?

@syedibnmohsin
Copy link

I have the same problem, I am running it on VirtualBox. Is it because the VM doesn't have access to the host GPU?

@lijunling
Copy link
Author

lijunling commented Oct 12, 2022 via email

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