Search code examples
pythonpipgoogle-cloud-platformgoogle-cloud-datalab

Install Package with Pip on Google Datalab - No Space on Device


I'm trying to install the package sodapy using Pip on a fresh instance of Google Datalab but I'm receiving the error 'No space left on device.' I created this instance with over 100 GB of disk space so I'm a bit confused why I would be getting this error and I've tried deleting instances and creating new ones with no luck.

enter image description here

I'm using the command

!pip install sodapy

as is explained in the documentation- https://cloud.google.com/datalab/docs/how-to/adding-libraries

Thanks in advance for your help!


Solution

  • You may have run into a bug where the Disk was not being attached: https://github.com/googledatalab/datalab/issues/1898

    (If that is the case, reseting the VM once should fix it and you should update to gcloud version 186.0.0 or later.)