AI, DataScience
[Colab] Mountpoint must not already contain files 에러 해결
이무기뱀술
2022. 1. 5. 10:00
728x90
어느 날 colab을 열어보니,
"drive.mount('/content/drive/')"에서 "Mountpoint must not already contain files" 에러가 났다.
분명 어제까지는 사용했었는데..?
https://pretagteam.com/question/google-colabvalueerror-mountpoint-must-be-in-a-directory-that-exists
https://pretagteam.com/question/google-colabvalueerror-mountpoint-must-be-in-a-directory-that-exists
pretagteam.com
drive.mount('/content/drive')
drive.mount('content/drive')
절대 경로로 바꾸라니 어쩌라니 하던데 소용없었다.
여기서 내가 찾은 방법

드라이브 마운트 버튼을 눌러 마운트를 해제하고 다시 셀을 실행하니 잘 작동된다.
구글 로그인 과정에서 오류가 있었나보다.
728x90