siavashk / pycpd

Pure Numpy Implementation of the Coherent Point Drift Algorithm
MIT License
513 stars 115 forks source link

build from source and can't find "expectation_maximization_registration" module #16

Closed sandyhsia closed 6 years ago

sandyhsia commented 6 years ago

Hi, I choose to build from source and I encounter the error message like this: image

Generally, it says it fails with this line when running __init__.py: from expectation_maximization_registration import expectation_maximization_registration in affine_registration.py.

I found that change the above line to from .expectation_maximization_registration import expectation_maximization_registration in every file in __init__.py solved this import problem.

siavashk commented 6 years ago

Fixed in e8cef82624f882a8805eab4c7cb033f9bda0f6e2.