Thank you again @peterjc123
If I replace my init file, then I get similar error in different place.
This is what I get now. Any suggestions or any help will be highly appreciated. Thank you so much for the support .
C:\anaconda3\envs\build_src\python.exe D:/repos/pytorch/pytroch_test.py
Traceback (most recent call last):
  File "D:/repos/pytorch/pytroch_test.py", line 4, in <module>
    import torch
  File "C:\anaconda3\envs\build_src\lib\site-packages\torch\__init__.py", line 102, in <module>
    raise err
OSError: [WinError -1073741795] <no description> Error loading "C:\anaconda3\envs\build_src\lib\site-packages\torch\lib\caffe2_detectron_ops_gpu.dll" or one of its dependencies.

Process finished with exit code 1