I've installed pytorch, but cuda is not recognized : I installed pytorch using this command

    pip3 install torch===1.2.0 torchvision===0.4.0 -f https://download.pytorch.org/whl/torch_stable.html

and it seemed to work. When importing torch, there is no error. 
My laptop has a geforce 1060 ti, which I assumed would work with cuda.

[Here is the error in the ide (eclipse)][1]

  [1]: https://i.stack.imgur.com/ey7wU.png