TensorFlow 설치 중 Permission denied 문제 발생

1322 단어 python
최근 ubuntu 에 TensorFlow 를 설치 하 였 습 니 다.두 버 전의 python 이 있 기 때문에 문 구 를 사용 하여 설치 하 십시오.
python3 -m pip install tensorflow

그러나 설치 에 실 패 했 습 니 다.다음 알림 이 나타 납 니 다.
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/markdown'
Consider using the `--user` option or check the permissions.

알림 에 따라 변경:
python3 -m pip install --upgrade tensorflow --user

설치 성공:
Successfully installed absl-...

좋은 웹페이지 즐겨찾기