9-nvidia-smi is not recognized as an internal or external command, operable program or batch file

nvidia-smi is not recognized as an internal or external command, operable program or batch file

The so-called copy of the world’s articles is a big copy. When I entered the command on the computer today nvidia-smi, it couldn’t run. I reported the error shown in the title, so I googled it, and then recorded it myself, so it’s easy to check in the future~

1. Solution

  1. Right-click This Computer under win10 , select Properties, click Advanced System Settings, and click Environment Variables to enter the environment variable editing interface.
  2. Find path under system variables or user variables , double-click to enter, and click New.
  3. Enter nvidia-smithe directory where the command is located, as shown in the figure below, and then confirm all the way.

insert image description here

  1. After that, there will be no problem typing in cmd ~nvidia-smi

2. Reference articles

https://blog.csdn.net/shuiyixin/article/details/99897640

Guess you like

Origin blog.csdn.net/colleges/article/details/123897778