2023-10-21

Can't import Optuna

I am trying to import Optuna on Jupyter Notebook. I have previously installed pytorch-2.0.1. I have tried to downgrade pytorch as well as uninstalling and reinstalling Optuna as well as sqlalchemy. The error I am getting now when running import Optuna is:

"ImportError: cannot import name 'NOT_EXTENSION' from 'sqlalchemy.orm.interfaces"

Does anybody know what the error could be and if there is a fix to this?



No comments:

Post a Comment