A problem about 'Nvidia-smi', the flash window

I am a M.D. student in China and I have a great interest in deep learning.
I installed the CUDA and PyTorch yesterday and I found the feedback of the command in anaconda ‘torch.cuda.is_available()’ is True,
However, when I run ‘Nvidia-smi’ to check the GPU running state, the window is just a flash.
No error, no reply, and I could know nothing.
My OS is WIN 10, the modle number of GPU is NVIDIA GeForce GTX 1050 Ti, version of CUDA is 9.2.
I am a noob in this field and I need some help.
What is the possible reason and what should I do,
Thank you for your attention