[tensorflow] RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
2023. 6. 27. 16:34ㆍTrouble shooting
import tensorflow 가 새로운 환경에서 오류가 난다.
python 3.7.9
버전문제인가 싶어서 pip --upgrade
새로운 세션에서
서로 같은 세션에서 잘 실행되는데... 이유를 못찾겠다.
해결법
pip install --upgrade tensorflow==2.7.0
을 실행하니
도중에 잘 업그레이드하다가 사용자 권한을 확인해보라고 한다.
pip install --upgrade --user tensorflow==2.7.0
원래 사용하던 세션을 다시 실행시키고 코드를 실행하면
잘 작동하는 모습을 볼 수 있다.
728x90
'Trouble shooting' 카테고리의 다른 글
xcrun: error: invalid active developer path 에러 (0) | 2023.08.09 |
---|---|
git) git push -> fatal: The current branch main has no upstream branch. (0) | 2023.07.25 |
[pandas] ValueError: Bin labels must be one fewer than the number of bin edges (0) | 2023.06.26 |
git) detected dubious ownership in repository (0) | 2023.05.22 |
한 컴퓨터에서 git 여러계정 사용 (해결중) (0) | 2023.05.22 |