简体   繁体   中英

Problem with authorization code in google collab

I want to mount my drive to my collab notebook. I ran the following code.

from google.colab import drive
drive.mount('/content/drive')

After I paste my authentication code and press enter, nothing happens.
The cell is still running, though

How shall I proceed?

I've faced this problem an hour ago. Don't know if it is still actual for you, but updating firefox from 65 to 69 helped me.

The issue was not related to the authorization itself; the authorization copy button was not working, so instead of clicking it, select the code and copy it directly.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM