본문 바로가기

Error and Solve

[오류 해결] ValueError: numpy.dtype size changed, may indicate binary incompatibility. / pip install numpy==1.26.4

반응형

 

 

오류 해결: ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject 

 



ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

 

 

Value error가 났다.

 

 

 

 

 

numpy version 변경

 

본래 numpy version이 2.0.1 꽤 높았는데 

 

pip install numpy==1.26.4

 

numpy version을 낮췄다.

 

 

그리고 쥬피터 노트북을 쓴다면 kernel을 끄고 (restart) 하면 반영된다.

 

 

 

 


 

Reference

 

https://stackoverflow.com/questions/78634235/numpy-dtype-size-changed-may-indicate-binary-incompatibility-expected-96-from

 

numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

I want to call my Python module from the Matlab. I received the error: Error using numpy_ops>init thinc.backends.numpy_ops Python Error: ValueError: numpy.dtype size changed, may indicate binary

stackoverflow.com

 

 

https://run-think-dev.tistory.com/87#google_vignette

 

[python/오류] ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 fr

잘쓰던 numpy에서 오류가 발생했다.. 갑자기 왜그래ㅠㅠ 발생한 오류 ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject해결 방법 (방법1) numpy 최신버

run-think-dev.tistory.com

 

 

 

 

반응형