import optuna一直显示AttributeError: module 'optuna' has no attribute 'logging'
import optuna
from optuna.integration import LightGBMPruningCallback
from sklearn.model_selection import StratifiedKFold,KFold
import lightgbm as lgbm
AttributeError: module 'optuna' has no attribute 'logging'
上网搜索很多说是指向了同名文件,类似于optuna.py这种的,但是我已经查过了,并没有这个文件,不知道怎么回事呜呜呜
你自己运行得这个python文件名字是什么,可能文件名起了冲突