본문 바로가기

코딩 에러

TypeError: object of type <class 'numpy.float64'> cannot be safely interpreted as an integer 오류 / 에러

numpy 버젼이 높아서 그런 것이다. pip install -U numpy=1.17.0 로 다운그레이드를 하면 됨

꼭 1.17로 해야되는 건 아니다.