meyerls / pc-skeletor

Skeletonization of 3D Point Clouds
MIT License
151 stars 18 forks source link

Failed to load DLL #15

Closed zheng-sk closed 1 year ago

zheng-sk commented 1 year ago

Thanks for sharing the code. But I did not manage to import the package. At first, the mistree failed to compile, and I solved it by configuring a fortran compiler. Then the package seemed to install correctly using 'pip install pc-skeletor', but when I run 'import pc_skeletor', I have the following error:

Traceback (most recent call last): File "", line 1, in File "..\venv\lib\site-packages\pc_skeletor__init.py", line 1, in from pc_skeletor.laplacian import LBC, SLBC File "..\venv\lib\site-packages\pc_skeletor\laplacian.py", line 16, in import mistree as mist File "...\venv\lib\site-packages\mistree__init__.py", line 11, in from .levy_flight.levy_flight import get_random_flight File "...\venv\lib\site-packages\mistree\levy_flight\init__.py", line 1, in from .levy_flight import get_random_flight File "...\venv\lib\site-packages\mistree\levy_flight\levy_flight.py", line 5, in from . import utility_random_walk as random_walk ImportError: DLL load failed while importing utility_random_walk: The specified module could not be found.

It suggests that the DLL 'utility_wandom_walk' cannot be found, even though it is in the package folder. Any suggestions?

Thanks much for your time.

meyerls commented 1 year ago

Hi!

In the trouble section the problem is described precisely. A solution can be found here: https://github.com/knaidoo29/mistree/issues/14#issuecomment-1275022276