I have been trying to install a previous version of Numpy in Google Colab. I uninstalled the current version !pip uninstall numpy -y Found existing installation: numpy 1.26.4 Uninstalling numpy-1.26.4: Successfully uninstalled numpy-1.26.4 and then installed the version I want. !pip install numpy==1.26.4 Collecting numpy==1.26.4 Using cached numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB) Using cached numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.3 MB) Installing collected packages: numpy Successfully installed numpy-1.26.4 Upon checking the version of the package, it shows the version of Numpy 2.0.2 import numpy as np print(np.__version__) This outputs 2.0.2 I have seen similar problems here (downgrading numpy version on google colab). But this doesn't help resolving the problem I'm having. Continue reading...