-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装了deep-forest 但是出现 报错 #136
Comments
请问你是怎么安装的?并且提供一下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: ***@***.***>
|
这是我的版本 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: