I am using a new conda environment and playing around with Pytorch. I just want to make sure my GPU is running so then I run the code print(torch.cuda.is_available()). When I try to run the script, it returns False.
Command of running test.py image:

test.py code image:
However, when I run python on conda prompt, it returns True. I have no idea how this is possible.
Can anybody tell me where I did wrong? Thank you!

