I tried to mount my drive in Google Colab, but, I can't do it because of credential error.
I want to mount another drive different from the one I am using in Google Colab.
The following is my commands.
from google.colab import drive
drive.mount('/content/drive')
The following is the part of question.
MessageError Traceback (most recent call last)
<ipython-input-1-d5df0069828e> in <module>()
1 from google.colab import drive
----> 2 drive.mount('/content/drive')
3 frames
/usr/local/lib/python3.7/dist-packages/google/colab/drive.py in mount(mountpoint,
force_remount, timeout_ms, use_metadata_server)
111 timeout_ms=timeout_ms,
112 use_metadata_server=use_metadata_server,
--> 113 ephemeral=ephemeral)
114
115
/usr/local/lib/python3.7/dist-packages/google/colab/drive.py in _mount(mountpoint,
force_remount, timeout_ms, use_metadata_server, ephemeral)
134 if ephemeral:
135 _message.blocking_request(
--> 136 'request_auth', request={'authType': 'dfs_ephemeral'}, timeout_sec=None)
137
138 mountpoint = _os.path.expanduser(mountpoint)
/usr/local/lib/python3.7/dist-packages/google/colab/_message.py in
blocking_request(request_type, request, timeout_sec, parent)
173 request_id = send_request(
174 request_type, request, parent=parent, expect_reply=True)
--> 175 return read_reply_from_input(request_id, timeout_sec)
/usr/local/lib/python3.7/dist-packages/google/colab/_message.py in
read_reply_from_input(message_id, timeout_sec)
104 reply.get('colab_msg_id') == message_id):
105 if 'error' in reply:
--> 106 raise MessageError(reply['error'])
107 return reply.get('data', None)
108
MessageError: Error: credential propagation was unsuccessful
I could mount another drive yesterday to do the same method.
What is the solution?