question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Google Colab examples not working

See original GitHub issue

Hi! I was checking your project and decided to start by running the given examples. Unfortunately, I stumbled upon issues in all of them…

In the first two (parking_model_based.ipynb; highway_planning.ipynb), the problem was that the module xdpyinfo! was missing/not found. The output was an error message asking to: Please install xdpyinfo!. I tried pip install and apt-get it but with no success…

The third one (parking_her.ipynb), returns a message stating ModuleNotFoundError: No module named 'tensorflow.contrib'. After reading about it at Tensorflow website, I found out that the module 'tensorflow.contrib' is deprecated and the module that your script is trying to access has either migrated or been deleted.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
eleurentcommented, Mar 30, 2020

Hi @super-pirata Yes, I also noticed that recently. It seems Google Colab stopped supporting virtual display, which was used for rendering the environment in a notebook. I will try to find a way to circumvent that.

I had not seen the tensorflow.contrib issue however, thanks for the feedback I’ll investigate.

1reaction
eleurentcommented, Apr 26, 2020

Nevermind, I forgot to restart the execution environment. Using tensorflow 1.x did the trick.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Google Colab for the Total Newbie
Working in Google Colab for the first time has been completely awesome and pretty shockingly easy, but it hasn't been without a couple...
Read more >
Example Google Colab Notebooks have stopped working #1177
Google Colab Example Notebooks have stopped working Recently Colab upgraded to PyTorch 1.11.0 with Cuda 11.3, this has broken the example ...
Read more >
Google Colab does not apply the changes I make to the code ...
I ran into a problem recently: no matter what I change in the local files from the cloned github project, those changes wouldn't...
Read more >
COLAB example on github "Try PyGMT online" not working ...
I'm showing to my students how to work with pygmt on colab but the example on https://colab.research.google.com/github/GenericMappingTools/try- ...
Read more >
Google Colab for Machine Learning Projects
Unlike your own computer, Google Colab does not provide you with a terminal to enter commands to manage your Python environment.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found