Skip to content

Import Error #392

@hossam955

Description

@hossam955

Hello, i tried to import bayes_opt using both the following methods:
from bayes_opt import BayesianOptimization
import bayes_opt

But i get the following error for both methods:
ImportError: cannot import name 'BayesianOptimization' from partially initialized module 'bayes_opt' (most likely due to a circular import)

Any idea how i can proceed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions