mistree icon indicating copy to clipboard operation
mistree copied to clipboard

Import Error on Windows 10

Open raul-bermejo opened this issue 3 years ago • 19 comments

Hi Krishna,

I am not able to import mistree with my windows 10 machine. I get the following ImportError:

import mistree


ImportError Traceback (most recent call last) in 7 import random 8 from jupyterthemes import jtplot ----> 9 import mistree as mist 10 11

~\anaconda3\lib\site-packages\mistree_init_.py in 9 10 # levy flight distributions ---> 11 from .levy_flight.levy_flight import get_random_flight 12 from .levy_flight.levy_flight import get_levy_flight 13 from .levy_flight.levy_flight import get_adjusted_levy_flight

~\anaconda3\lib\site-packages\mistree\levy_flight_init_.py in ----> 1 from .levy_flight import get_random_flight 2 from .levy_flight import get_levy_flight 3 from .levy_flight import get_adjusted_levy_flight

~\anaconda3\lib\site-packages\mistree\levy_flight\levy_flight.py in 3 4 import numpy as np ----> 5 from . import utility_random_walk as random_walk 6 7

ImportError: DLL load failed: The specified module could not be found.

I have tried to follow the solution suggested in here: https://stackoverflow.com/questions/20201868/importerror-dll-load-failed-the-specified-module-could-not-be-found but no dice.

Not sure if it is a dependency issue or a windows 10 issue, but any help is appreciated.

Thanks.

raul-bermejo avatar Sep 15 '20 11:09 raul-bermejo