We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
environment : MacBook Pro (13-inch, M1, 2020)
pip install toad 安装成功,但是import toad 报以下错误。
ValueError Traceback (most recent call last) in ----> 1 import toad
~/opt/anaconda3/lib/python3.8/site-packages/toad/init.py in 1 # from .merge import merge, DTMerge, ChiMerge, StepMerge, QuantileMerge, KMeansMerge 2 from .detector import detect ----> 3 from .metrics import KS, KS_bucket, F1 4 from .stats import quality, IV, VIF, WOE, entropy, entropy_cond, gini, gini_cond 5 from .selection import select
~/opt/anaconda3/lib/python3.8/site-packages/toad/metrics.py in 5 from sklearn.metrics import f1_score, roc_auc_score, roc_curve 6 ----> 7 from .merge import merge 8 9 from .utils import (
~/opt/anaconda3/lib/python3.8/site-packages/toad/merge.pyx in init toad.merge()
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
The text was updated successfully, but these errors were encountered:
@SamanthaChen 可以尝试更新 numpy 和 cython 再试一下?
numpy
cython
Sorry, something went wrong.
No branches or pull requests
environment : MacBook Pro (13-inch, M1, 2020)
pip install toad 安装成功,但是import toad 报以下错误。
ValueError Traceback (most recent call last)
in
----> 1 import toad
~/opt/anaconda3/lib/python3.8/site-packages/toad/init.py in
1 # from .merge import merge, DTMerge, ChiMerge, StepMerge, QuantileMerge, KMeansMerge
2 from .detector import detect
----> 3 from .metrics import KS, KS_bucket, F1
4 from .stats import quality, IV, VIF, WOE, entropy, entropy_cond, gini, gini_cond
5 from .selection import select
~/opt/anaconda3/lib/python3.8/site-packages/toad/metrics.py in
5 from sklearn.metrics import f1_score, roc_auc_score, roc_curve
6
----> 7 from .merge import merge
8
9 from .utils import (
~/opt/anaconda3/lib/python3.8/site-packages/toad/merge.pyx in init toad.merge()
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
The text was updated successfully, but these errors were encountered: