Google Colab: I'm installing the libraries every time I open the notebook. Am I doing this right?

Every time I open a notebook on Google Colab, I must reinstall all the libraries. Should I be creating an environment that have these libraries saved to them?

No, that’s how colab works. You have non-permanent instances so you need to always run an install script each time.

4 Likes

Got it, thanks!