Skip to content

import error on test code #1

Description

@YLouWashU

I get this import error when importing the eptools_ext.so into ipython:

ImportError Traceback (most recent call last)
/usr/lib/python2.7/dist-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
176 else:
177 filename = fname
--> 178 builtin.execfile(filename, *where)

/home/louyang/PAT_HomeDir/MachineLearningProj/apbsint-master/python/test/binclass/eptest_binclass.py in ()
18 import time # Profiling
19
---> 20 import apbsint as abt
21
22 # Helper functions

/home/louyang/PAT_HomeDir/MachineLearningProj/apbsint-master/python/apbsint/init.py in ()
12
13 from apbsint.coup_fact import *
---> 14 from apbsint.utilities import *
15 from apbsint.inference import *

/home/louyang/PAT_HomeDir/MachineLearningProj/apbsint-master/python/apbsint/utilities.py in ()
18 import apbsint.helpers as helpers
19 import apbsint.coup_fact as cf
---> 20 import apbsint.eptools_ext as epx
21 import apbsint.ptannotate_ext as pta
22

ImportError: /home/louyang/PAT_HomeDir/MachineLearningProj/apbsint-master/python/apbsint/eptools_ext.so: undefined symbol: eptwrap_fact_compmarginals_bvprec

I checked compilation log, there seems to be no abnormality there. So I guess this could be a problem with linking?

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