Search code examples
pythontensorflowmachine-learninggoogle-colaboratory

Running TensorFlow 2 setup.py in Google Colab loads forever and then times out


I am using Google Colab and am experiencing an issue when installing packages with python/pip following this TensorFlow guide. It loads forever then I get a timeout error when running the TensorFlow 2 setup script.

So then I tried to open their own notebook, which results in the same error. It just loads forever then throws a timeout. It is this line that loads forever: python -m pip install .

I am new to TensorFlow and Google Colab so I'm not sure how to debug this properly. How do I install the TensorFlow Object Detection API on Google Colab?


Solution

  • This is apparently a known issue as seen here.