It seems you are running the assignment in your PC. Please read this for creating a virtual environment in your PC. And if you want to use Colab, read this .