If you use google colab with the runtime T4, you may face this issue many times. Try changing your runtime. It fixes all the versioning issues.