Skip to main content
628 votes
48 answers
982k views

I'm trying to download a file from google drive in a script, and I'm having a little trouble doing so. The files I'm trying to download are here. I've looked online extensively and I finally managed ...
Arjun's user avatar
  • 6,408
278 votes
17 answers
900k views

I have some data on gDrive, for example at /projects/my_project/my_data*. Also I have a simple notebook in gColab. So, I would like to do something like: for file in glob.glob("/projects/...
Scitator's user avatar
  • 3,018
230 votes
24 answers
516k views

What are the common ways to import private data into Google Colaboratory notebooks? Is it possible to import a non-public Google sheet? You can't read from system files. The introductory docs link to ...
Grae's user avatar
  • 2,458
51 votes
5 answers
60k views

I am am trying out colaboratory with plotly notebook mode - I open a new notebook, copy and paste the following simple example from plotly's documentation, but don't see an output. There is a large ...
elz's user avatar
  • 5,788
111 votes
6 answers
80k views

In Google Colaboratory, I can install a new library using !pip install package-name. But when I open the notebook again tomorrow, I need to re-install it every time. Is there a way to install a ...
korakot's user avatar
  • 41.3k
185 votes
6 answers
534k views

In a project, I have e.g. two different packages, How can I use the setup.py to install these two packages in the Google's Colab, so that I can import the packages?
Lin Jianjie's user avatar
  • 1,860
48 votes
8 answers
85k views

I try to install a new Python version (3.8) using conda. !wget -O mini.sh https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.2-Linux-x86_64.sh !chmod +x mini.sh !bash ./mini.sh -b -f -p /usr/...
korakot's user avatar
  • 41.3k
31 votes
3 answers
109k views

I am trying to open a web camera in Google Colab. I've executed the following command: cap = cv2.VideoCapture(0) but this is not working: the web camera is not opening. Is it possible to open a ...
Shobhit Srivastava's user avatar
17 votes
4 answers
13k views

I have been using selenium chromedriver in google colab for a while. Today I start my work, I get the error never got before. I'm wondering if this error is related to the chromedriver version. This ...
Wayne Gao's user avatar
  • 173
163 votes
17 answers
336k views

Is there any way to upload my code in .py files and import them in colab code cells? The other way I found is to create a local Jupyter notebook then upload it to Colab, is it the only way?
Reham M Samir's user avatar
102 votes
7 answers
124k views

Google Colaboratory supports Python version 2.7 and 3.6 I saw an example how to use Swift in Colab a while ago. Today, I happened to run !jupyter-kernelspec list And found a new kernel: IRkernel ...
korakot's user avatar
  • 41.3k
84 votes
7 answers
192k views

Google Colaboratory is really cool, but it would be more useful if I can access all my google drive files, without using standard google drive API. Is it possible and easy? and how?
Marco Scarselli's user avatar
362 votes
39 answers
504k views

Is there a way to programmatically prevent Google Colab from disconnecting on a timeout? The following describes the conditions causing a notebook to automatically disconnect: Google Colab notebooks ...
Chan Kha Vu's user avatar
  • 10.5k
79 votes
15 answers
161k views

I want to use Selenium Webdriver of Chrome in colab.research.google.com for fast processing. I was able to install Selenium using !pip install selenium but the webdriver of chrome needs a path to ...
john mich's user avatar
  • 2,893
44 votes
9 answers
90k views

The current default version of Python running on Google Colab is 3.7, but I need 3.9 for my notebooks to work. How can I update Google Colab's Python version to 3.9 (or greater)?
orome's user avatar
  • 49.3k

15 30 50 per page
1
2 3 4 5
52