Unable to print pytorch version

Hi, I am fairly new to pytorch I was able to download pytorch via pip install method (without cuda for windows)… After installation I am able to import torch although i am unable to print it’s version. When do I receive the error " module ‘torch’ has no attribute 'version"
Please le me know

I’m unsure if it’s a formatting issue, but I assume you were using print(torch.__version__)?
If so, is your current working directory set to any folder containing torch.py or any other file which might cause conflicts?

Yes I was using print(torch.version)
I was able to resolve the issue.

What was causing the issue?

It showed that some file was not in the path and hence maybe it wasn’t able to use that print function.