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

IOS 安装成功,但是无法导入 #117

Open
SamanthaChen opened this issue Mar 8, 2023 · 1 comment
Open

IOS 安装成功,但是无法导入 #117

SamanthaChen opened this issue Mar 8, 2023 · 1 comment

Comments

@SamanthaChen
Copy link

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

@Secbone
Copy link
Member

Secbone commented Mar 19, 2023

@SamanthaChen 可以尝试更新 numpycython 再试一下?

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

2 participants