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 #137

Open
Wickked-swag opened this issue Mar 29, 2021 · 1 comment
Open

ImportError #137

Wickked-swag opened this issue Mar 29, 2021 · 1 comment

Comments

@Wickked-swag
Copy link

Traceback (most recent call last):
File "test.py", line 14, in
from nnet.py_factory import NetworkFactory
File "/home/wickked/Net/CenterNet/nnet/py_factory.py", line 8, in
from models.py_utils.data_parallel import DataParallel
File "/home/wickked/Net/CenterNet/models/py_utils/init.py", line 6, in
from ._cpools import TopPool, BottomPool, LeftPool, RightPool
File "/home/wickked/Net/CenterNet/models/py_utils/_cpools/init.py", line 8, in
import top_pool, bottom_pool, left_pool, right_pool
ImportError: /home/wickked/.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: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev
When I use ldd -r to see what symbol is undefined:
Traceback (most recent call last):
File "test.py", line 14, in
from nnet.py_factory import NetworkFactory
File "/home/wickked/Net/CenterNet/nnet/py_factory.py", line 8, in
from models.py_utils.data_parallel import DataParallel
File "/home/wickked/Net/CenterNet/models/py_utils/init.py", line 6, in
from ._cpools import TopPool, BottomPool, LeftPool, RightPool
File "/home/wickked/Net/CenterNet/models/py_utils/_cpools/init.py", line 8, in
import top_pool, bottom_pool, left_pool, right_pool
ImportError: /home/wickked/.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: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev
Can u help me?Thank u very much

@NikhilChowdary-MCW
Copy link

Hi @Wickked-swag , did that import error was solved? Please let me know. 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