xTea
xTea copied to clipboard
ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest'
Hello, I have installed xTea using conda, I tried both 1.6.0 and 1.9.0 versions but I get always the same error after running the generated script "run_xTEA_pipeline.sh". deepforest version is 1.3.3
This is the error I get
/data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py) /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages /data2/gmattei/.conda/envs/xtea/lib/python3.7/site-packages/sklearn/ensemble/gradient_boosting.py:34: DeprecationWarning:
np.boolis a deprecated alias for the builtin
bool. To silence this warning, use
boolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.bool_here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations from ._gradient_boosting import predict_stages Traceback (most recent call last): File "/data1/Tools/src/xTea/xtea/x_TEA_main.py", line 29, in <module> from x_genotype_classify import * File "/data1/Tools/src/xTea/xtea/x_genotype_classify.py", line 4, in <module> from deepforest import CascadeForestClassifier ImportError: cannot import name 'CascadeForestClassifier' from 'deepforest' (/data2/home/gmattei/.local/lib/python3.7/site-packages/deepforest/__init__.py)