python-3.x - Win 10 路径变量被搞砸了
问题描述
我试图通过使用此命令将硒添加到我的 PATH 中 setx path "%path%;c:\directoryPath"
,现在使用诸如python
and之类的命令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>
解决方案
推荐阅读
- c# - 查找然后与 IMongoCollection 求和
- javascript - Cloud Functions 和 Firestore:使用 Promise.all() 跟踪多个文档修改
- javascript - 重置多选下拉菜单反应
- python - 线路安排问题。(有人可以提出一个更省时的解决方案吗?)
- android - 尝试将推送通知集成到 Flutter 应用程序时未找到 ID 为“com.google.gms:google-services”的插件
- math - 尝试解决旋转
- python - RuntimeWarning:从未等待协程“FUNCTION”
- apache-ranger - Apache ranger 2.1.0 - 安装失败
- reactjs - 我应该为投资组合网站使用后端吗?
- angular - 在这种情况下,如何正确地将值从二级子组件传递给父组件?