@ptrblck
my current working directory is:
/user/rahul/MyApp/examples
I created a notebook in this path and just doing import torch in the notebook. Then, I get the above mentioned error. The directory: /user/rahul/MyApp/examples has no files except the notebook that I created.  This error happens only when I change torch version from 1.4.0 to 1.9.0.