When I am trying to import torch in colab in python 2 mode, I am getting below error.

ImportErrorTraceback (most recent call last) <ipython-input-3-eb42ca6e4af3> in <module>() ----> 1 import torch ImportError: No module named torch --------------------------------------------------------------------------- NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To install torch, click the button below.

Please help me

Someone please helpme

you have installed torch to python 3 and your notebook is in python 2. use pip instead of pip3.