problem import error from yabox
Mathi50 opened this issue · 2 comments
Mathi50 commented
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
KOLANICH commented
yabox is a pure python module. It doesn't immediately depend on any sahred libraries.
Mathi50 commented
OK. How can I import the problem package from yabox?
Please help me to clear this.
Thanks,
Alagumathi M
Phd student,
Amrita university, Coimbatore.
…On Thu, Jun 24, 2021 at 3:26 PM KOLANICH ***@***.***> wrote:
yabox is a pure python module. It doesn't immediately depend on any sahred
libraries.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARV7W3IVEXVXGVIDPEV2TWLTUL6MPANCNFSM47HJVTGA>
.