-
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
Unable to import CascadeForestClassifier #131
Comments
Hi @tomthecat1, I have sent you an email to solve this issue. Feel free to comment below if you have any other problem. |
I also have this problem, how should I solve it? |
I also have this problem, could you please email to me?Thanks very much. |
Hi @xuyxu, I have the same issue when trying to run the python code in Windows. Can you please send me the solution for this issue? |
Hi @xuyxu , I have the same issue when trying to run the python code. Can you please send me the solution for this issue?My email: [email protected] |
Hi @xuyxu , I have the same issue when trying to run the python code. Can you please send me the solution for this issue? My email: [email protected] |
Can somebody actually post the solution here instead of sending private email solutions? This is important for result replication. |
@xuyxu 我也遇见了这个问题,可以发一下怎么解决的吗?邮箱[email protected] |
@xuyxu 同求,邮箱[email protected] |
While installing deep-forest using pip intall . the error says "Getting requirements to build wheel did not run successfully." (new_env) C:\Users\mites\Deep-Forest>pip install . × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. (new_env) C:\Users\mites\Deep-Forest>python -c "from deepforest import CascadeForestClassifier; print(CascadeForestClassifier)" (new_env) C:\Users\mites\Deep-Forest>pip uninstall setuptools (new_env) C:\Users\mites\Deep-Forest>pip install setuptools (new_env) C:\Users\mites\Deep-Forest>pip update setuptools (new_env) C:\Users\mites\Deep-Forest>pip install . × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
Hi @xuyxu, I have the same issue when trying to run the python code in Windows. Can you please send me the solution for this issue? |
Despite following the instructions provided in the README document and using pip to install 'deep-forest,' I encountered a 'ModuleNotFoundError' when trying to import the package in my code.
To troubleshoot, I attempted to clone the GitHub repository directly and forced the environment to recognize the cloned path. Unfortunately, this resulted in another error: 'ImportError: cannot import name '_cutils' from partially initialized module 'deepforest' (most likely due to a circular import) (/content/Deep-Forest/deepforest/init.py).'
This is the full error message:
ImportError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from deepforest.cascade import CascadeForestClassifier
2 frames
/content/Deep-Forest/deepforest/_utils.py in
5 from datetime import datetime
6
----> 7 from . import _cutils as _LIB
8
9
ImportError: cannot import name '_cutils' from partially initialized module 'deepforest' (most likely due to a circular import) (/content/Deep-Forest/deepforest/init.py)
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
The text was updated successfully, but these errors were encountered: