!!! The problem is solved!!
I just used pip uninstall pytorch and then I checked whether it was uninstalled, but I can stil import torch,
so i tried to print version and it is 0.3.1.post2 now
Realy thanks for your help!