컴퓨터과학/인공지능

tensorflow 설치 오류

Declan Andrew 2021. 3. 16. 21:40
반응형

최근 pip install tensorflow 했을 때 해당 오류가 떠서 설치가 안되더라

 

ERROR: Could not install packages due to an OSError

Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory

 

구글링 결과

경로에 존재하는 디렉터리 명이 길면 해당 오류가 뜰수도 있다해서 

앞에 긴 디렉터리명들을 좀 짧게 바꿔주었더니 됐다.

 

그래도 해결 안되면 권한 문제같은 경우인데, 이런 경우는 pip install tensorflow --user로 해결하면 된다.

반응형