Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem import error from yabox #45

Open
Mathi50 opened this issue Jun 24, 2021 · 2 comments
Open

problem import error from yabox #45

Mathi50 opened this issue Jun 24, 2021 · 2 comments

Comments

@Mathi50
Copy link

Mathi50 commented Jun 24, 2021

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
Copy link
Contributor

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

@Mathi50
Copy link
Author

Mathi50 commented Jun 24, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants