Error

[오류 해결] AttributeError: np.PINF was removed in the NumPy 2.0 release. Use np.inf instead.

성장중 •͈ᴗ•͈ 2024. 10. 17. 14:51
728x90
반응형

발생한 오류

NumPy 버전 2.0에서 np.PINF가 제거되었기 때문에 발생하는 문제이다. 

AttributeError: np.PINF was removed in the NumPy 2.0 release. Use np.inf instead.

 

해결 방법

np.PINF가 사용된 코드를 찾아서 np.inf로 바꾸면 된다!

기존 코드

import numpy as np
x = np.PINF

수정된 코드

import numpy as np
x = np.inf

 

 

Reference

https://github.com/blue-yonder/tsfresh/issues/1088

 

728x90
반응형
LIST