HViktorTsoi / ACSC

Automatic Calibration for Non-repetitive Scanning Solid-State LiDAR and Camera Systems
GNU General Public License v3.0
309 stars 61 forks source link

Trouble importing segmentation_ext into Python 3 #25

Open Eikeike opened 2 years ago

Eikeike commented 2 years ago

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

zengkailiang commented 2 years ago

I have the same problem. Have you solved it now

iisskj commented 1 year ago

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

hoangkhai6893 commented 1 year ago

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