如果我尝试执行:
from pycaret.regression import *
models()
我收到以下错误:
Traceback (most recent call last):
File "", line 1, in
File "/home/user/.local/lib/python3.8/site-packages/pycaret/regression.py", line 2088, in models
return pycaret.internal.tabular.models(
File "/home/user/.local/lib/python3.8/site-packages/pycaret/internal/tabular.py", line 9494, in models
logger.info(f"gpu_param set to {gpu_param}")
NameError: name 'logger' is not defined
到目前为止无法修复.... Pycaret 版本是 2.3.4,按照 Pycaret 文档中的建议安装在新的专用 conda 环境中。