You will need to have the same versions of the libraries and frameworks used by Coursera. Please read this guide for the local machine and this for Colab.