Comments (6)
Hi @niliy, could you show me the version of all packages in requirements.txt
?
from deep-forest.
Python 3.7.0
conda 4.9.2
scikit-learn 0.24.1
numpy 1.14.5
numpy-base 1.14.5
numpydoc 1.1.0
scipy 1.1.0
joblib 1.0.1
from deep-forest.
报错的详细内容如下:
ValueError Traceback (most recent call last)
in
----> 1 from deepforest import CascadeForestClassifier
~\Anaconda3\lib\site-packages\deepforest_init_.py in
----> 1 from .cascade import CascadeForestClassifier, CascadeForestRegressor
2 from .forest import RandomForestClassifier, RandomForestRegressor
3 from .forest import ExtraTreesClassifier, ExtraTreesRegressor
4 from .tree import DecisionTreeClassifier, DecisionTreeRegressor
5 from .tree import ExtraTreeClassifier, ExtraTreeRegressor
~\Anaconda3\lib\site-packages\deepforest\cascade.py in
13 from sklearn.base import is_classifier
14
---> 15 from . import _utils
16 from . import _io
17 from ._layer import ClassificationCascadeLayer, RegressionCascadeLayer
~\Anaconda3\lib\site-packages\deepforest_utils.py in
5 from datetime import datetime
6
----> 7 from . import _cutils as _LIB
8
9
deepforest_cutils.pyx in init deepforest._cutils()
ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject
from deep-forest.
I can reproduce the problem. It looks like updating numpy solves your problem:
pip install numpy==1.19.*
We will update the lowest version of numpy in our requirements.txt, thanks!
from deep-forest.
Python 3.6.4
conda 4.4.10
joblib 1.0.1
numpy 1.19.5
scipy 1.5.4
scikit-learn 0.24.1
这样的配置可执行,感谢您的回复
from deep-forest.
Feel free to open another issue if you have any problem :-)
from deep-forest.
Related Issues (20)
- cant import CascadeForestRegressor HOT 2
- pip install deep-forest didn't work in wsl2 HOT 8
- pip install deep-forest didn't work in python3.10 HOT 3
- question HOT 8
- Please consider support on py310 HOT 1
- pip install deep-forest ERROR: Could not find a version that satisfies the requirement deep-forest (from versions: none) HOT 2
- np.int has been removed in munpy 1.24 HOT 5
- pip install doesn't work HOT 4
- What is the `model.get_later_feature_importance(0)` for? HOT 7
- Cannot find deep-forest in PyPI HOT 2
- Request for permission to cite your figure in the DF document HOT 3
- Unable to import CascadeForestClassifier HOT 7
- 导入出现错误 HOT 1
- Installation issues on Macbook Pro 2022 (Apple Silicon) and Ubuntu HOT 12
- module 'numpy' has no attribute 'int'. HOT 5
- The method to resolve the "import _cutils" issue. HOT 1
- 安装了deep-forest 但是出现 报错 HOT 3
- Is the numpy version of the dependency specified? HOT 1
- cannot import name 'CascadeForestClassifier' from 'deepforest'
- Use `pip install deep-forest` will encounter an ERROR! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deep-forest.