Repository navigation
Accessing Google Drive from Google Colab VS Code Extension (No Authorization Popup) #227
|
Dear all, I'm testing the new Google Colab extension for VS Code, and while everything else works well, I'm unable to access files from Google Drive. I tried the usual approach: from google.colab import drive However, in VS Code there is no authorization popup, no link, and no permission flow. Has anyone found a way to access Google Drive files when running a Colab notebook directly from VS Code? Thanks in advance for any insights! |
Replies: 4 comments 2 replies
|
Yes, I have the Same problem when accessing Google Drive or reading a local dataset using Pandas and these are closed Issues with the same Problem : |
|
There is a temporary alternative solution. I found it. You can try it by uploading your CSV dataset, for example to GitHub and reading it from GitHub in your notebook. In another way, your GitHub will be your Google Drive, but temporary until the problem is resolved. I tried this Solution and succeeded |
|
Thanks for the report @XpertizeAfrica - this is a known issue on our side, where the drive module has a dependency on the Colab web frontend. In the meantime, there's a workaround in the wiki that may be helpful! ➡️ See #215 for the canonical tracking issue |
|
Just an heads up in case folks don't see the update I left on #223, at least some of the feature requests in this discussion are now supported behind an experimental setting. See my reply here or the wiki for details. Full Drive mounting support is on it's way - #256. Do folks mind following up in #223 (for local/workspace files) and #256 (for Drive)? Helps us more easily track! Thanks 🙂 |
Thanks for the report @XpertizeAfrica - this is a known issue on our side, where the drive module has a dependency on the Colab web frontend. In the meantime, there's a workaround in the wiki that may be helpful!
➡️ See #215 for the canonical tracking issue