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

hazmاررور هنگام ایمپورت کتابخانه #298

Closed
mhdi707 opened this issue Sep 29, 2023 · 2 comments
Closed

hazmاررور هنگام ایمپورت کتابخانه #298

mhdi707 opened this issue Sep 29, 2023 · 2 comments

Comments

@mhdi707
Copy link

mhdi707 commented Sep 29, 2023

با سلام بعد از نصب کتابخانه هضم روی کولب هنگام ایمپورت به اررور زیر بر میخورم:

from hazm import *

-------------------------------------------------------------
[/usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py](https://localhost:8080/#) in <module>
     55 IS_PYSTON = hasattr(sys, "pyston_version_info")
     56 HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None and not IS_PYSTON
---> 57 HAS_LAPACK64 = numpy.linalg._umath_linalg._ilp64
     58 
     59 _OLD_PROMOTION = lambda: np._get_promotion_state() == 'legacy'

AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64'
@imani
Copy link
Contributor

imani commented Sep 30, 2023

سلام با استفاده از این دستورات نسخه numpy رو روی کولب عوض کنید:
1- !pip uninstall numpy
2- !pip install numpy==1.24.3
بعد از نصب کرنل رو یکبار ریستارت کنید.

@sir-kokabi
Copy link
Collaborator

این مشکل در نسخهٔ بعدی هضم برطرف می‌شه.

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

3 participants