我收到此错误! OSError:[WinError 193] %1 不是有效的 Win32 应用程序

问题描述 投票:0回答:1

我今天尝试运行 Python .exe 文件并收到以下错误!有人知道问题出在哪里以及解决方法吗?

  File "report-auto-final-v2.7.py", line 60, in <module>
  File "selenium\webdriver\chrome\webdriver.py", line 45, in __init__
  File "selenium\webdriver\chromium\webdriver.py", line 53, in __init__
  File "selenium\webdriver\common\service.py", line 105, in start
  File "selenium\webdriver\common\service.py", line 206, in _start_process
  File "subprocess.py", line 966, in __init__
  File "subprocess.py", line 1435, in _execute_child
OSError: [WinError 193] %1 is not a valid Win32 application
[10220] Failed to execute script 'report-auto-final-v2.7' due to unhandled exception!
python selenium-webdriver
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.