ACSC icon indicating copy to clipboard operation
ACSC copied to clipboard

Trouble importing segmentation_ext into Python 3

Open Eikeike opened this issue 4 years ago • 3 comments

When installing with setup.py in the segmentation directory, I run into this issue when importing segmentation_ext in Python 3.6.9:

ImportError: dynamic module does not define module export function (PyInit_segmentation_ext)

It works just fine in Python 2.7. I have already tried setting the target version and the python executable in the CMakeList.txt, but it did not work

Eikeike avatar Feb 02 '22 22:02 Eikeike

I have the same problem. Have you solved it now

zengkailiang avatar Mar 02 '22 10:03 zengkailiang

I have the same problem too, so have you solved this problem? My environment is windows python 3.7.

iisskj avatar Mar 17 '23 10:03 iisskj

here is solution : https://github.com/HViktorTsoi/ACSC/issues/1#issuecomment-741894158

hoangkhai6893 avatar Jul 25 '23 06:07 hoangkhai6893