我试图通过使用此命令setx path "%path%;c:\directoryPath"
将硒添加到我的PATH中,现在python
和pip install ...
之类的命令将其还原
python : The term 'python' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
在命令之前没有这样做的情况。
如何解决/恢复此问题?如何将selenium.exe添加到Win 10路径?
编辑:echo $PATH
PS C:\prog\react> echo $PATH
PS C:\prog\react>