정리/잡 에러들
[Python 에러] ImportError: numpy.core.multiarray failed to import
yun_s
2023. 3. 8. 20:06
728x90
반응형
에러
ImportError: numpy.core.multiarray failed to import
해결 방법
numpy 버전을 업그레이드 한다.
pip install -U numpy
그러면 이렇게 성공적으로 업그레이드 된다.
Successfully installed numpy-1.24.2
하지만 난 그랬더니 이런 에러를 또 만났다.
AttributeError: module 'numpy' has no attribute 'object'.
그래서 numpy 버전을 다운그레이드 해줬더니 최종적으로 해결됐다.
pip install numpy==1.23.4
728x90
반응형