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
- Right-click This Computer under win10 , select Properties, click Advanced System Settings, and click Environment Variables to enter the environment variable editing interface.
- Find path under system variables or user variables , double-click to enter, and click New.
- Enter
nvidia-smi
the directory where the command is located, as shown in the figure below, and then confirm all the way.
- After that, there will be no problem typing in cmd ~
nvidia-smi
2. Reference articles
https://blog.csdn.net/shuiyixin/article/details/99897640