pablormier/yabox

problem import error from yabox

Mathi50 opened this issue · 2 comments

Dear pablomier, I have installed yabox using the command "pip install yabox". I tried the following code to import problem from yabox. But i could not import it is showing the following error,

from yabox import DE

de=DE(problem,problem.bounds,mutation=(0.5,1.0),maxiters=1000)
Traceback (most recent call last):
File "<pyshell#5>", line 1, in
de=DE(problem,problem.bounds,mutation=(0.5,1.0),maxiters=1000)
NameError: name 'problem' is not defined

from . import ft2font

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

Please help me to clear this issue.
Thank you

yabox is a pure python module. It doesn't immediately depend on any sahred libraries.