2020-03-03 python 报错 [WinError 2] 系统找不到指定的文件。

File "I:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\subprocess.py",
根据提示找到lib中的subprocess.py文件,CTRL+f查找class Popen模块,再将这个模块中的
init 函数中的shell = False 改成shell = True

来源: https://blog.csdn.net/weixin_44853744/article/details/102680386

  File "I:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\common\service.py", line 72, in start
    self.process = subprocess.Popen(cmd, env=self.env,
  File "I:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,