# Time Series/# Prophet

[Prophet] TypeError: ufunc 'isfinite' not supported for the input types 에러

강현들 2023. 1. 20. 00:52
728x90
반응형

Prophet을 실행하다가 갑자기 아래와 같은 에러가 등장했다.

TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

해결

numpy와 matplotlib의 버전이 호환이 잘 안되는 경우 발생하는 문제로 확인된다.

따라서 두 패키지를 업데이트 하면 잘 실행이 된다.

pip install numpy --upgrade 

pip install matplotlib --upgrade 
728x90
반응형