Win 10路径变量被拧

时间:2020-11-08 23:38:04

标签: python-3.x windows path

我试图通过使用此命令setx path "%path%;c:\directoryPath"将硒添加到我的PATH中,现在pythonpip 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>

和我的环境变量的屏幕截图 enviroment variables

0 个答案:

没有答案