Skip to content
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

Open
Wang-ue opened this issue Feb 22, 2024 · 4 comments
Open

安装了deep-forest 但是出现 报错 #136

Wang-ue opened this issue Feb 22, 2024 · 4 comments

Comments

@Wang-ue
Copy link

Wang-ue commented Feb 22, 2024

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)

@xuyxu
Copy link
Member

xuyxu commented Feb 22, 2024

请问你是怎么安装的?并且提供一下Python版本信息

@senliyang
Copy link

你好,我也遇到了同样的问题。我是通过pip安装的deepforest。Python3.12 ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest'

@Wang-ue
Copy link
Author

Wang-ue commented Mar 18, 2024 via email

@Wang-ue
Copy link
Author

Wang-ue commented Oct 15, 2024

请问你是怎么安装的?并且提供一下Python版本信息

这是我的版本
Python 3.11.5,通过Anconada的环境安装

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants