Skip to content

Undefined symbol in arcsim.cpython-36m-x86_64-linux-gnu.so #10

@CWEzio

Description

@CWEzio

After installing, I got the following error when I try to import arcsim:

ImportError: /home/chenwang/anaconda3/envs/diffsim/lib/python3.6/site-packages/arcsim-0.0.0-py3.6-linux-x86_64.egg/arcsim.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_14E

By using

echo _ZN6caffe26detail37_typeMetaDataInstance_preallocated_14E | c++filt

I find the undefined symbol is

caffe2::detail::_typeMetaDataInstance_preallocated_14

It seems that the linked pytorch lib has some problem. I installed torch==1.3.0 with pip install torch==1.3.0 as in the instruction.
I find this issue persists in both Ubuntu18.04 and 20.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions