Open Wang-ue opened 8 months ago
请问你是怎么安装的?并且提供一下Python版本信息
你好,我也遇到了同样的问题。我是通过pip安装的deepforest。Python3.12 ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest'
我也是相同问题,但是我最近没有顾得上, 网上搜索可能是环境配置的问题,安装的程序包和软件运行环境不一致,所以没办法加载
------------------ 原始邮件 ------------------ 发件人: "LAMDA-NJU/Deep-Forest" @.>; 发送时间: 2024年3月17日(星期天) 上午10:26 @.>; @.**@.>; 主题: Re: [LAMDA-NJU/Deep-Forest] 安装了deep-forest 但是出现 报错 (Issue #136)
你好,我也遇到了同样的问题。我是通过pip安装的deepforest。Python3.12 ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest'
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
请问你是怎么安装的?并且提供一下Python版本信息
这是我的版本 Python 3.11.5,通过Anconada的环境安装
importError Traceback (most recent call last) Cell In[8], line 5 2 from sklearn.model_selection import train_test_split 3 from sklearn.metrics import accuracy_score ----> 5 from deepforest import CascadeForestClassifier 7 X, y = load_digits(return_X_y=True) 8 X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=1)
ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (D:\anaconda\lib\site-packages\deepforest__init__.py)