"[10356:7628:0726/025404.251:ERROR:broker_win.cc(56)] Error reading broker pipe: \u7ba1\u9053\u5df2\u7ec8\u6b62\u3002 (0x6D)\nTraceback (most recent call last):\n File "c:\Users\gaoyu\Desktop\jditem\broswer.py", line 16, in \n wd = webdriver.Edge(service=Service(path),options=options)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "C:\Users\gaoyu\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\edge\webdriver.py", line 49, in init\n super().init(\n File "C:\Users\gaoyu\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 54, in init\n super().init(\n File "C:\Users\gaoyu\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 206, in init\n self.start_session(capabilities)\n File "C:\Users\gaoyu\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 291, in start_session\n response = self.execute(Command.NEW_SESSION, caps)["value"]\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "C:\Users\gaoyu\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 346, in execute\n self.error_handler.check_response(response)\n File "C:\Users\gaoyu\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response \n raise exception_class(message, screen, stacktrace)\nselenium.common.exceptions.WebDriverException: Message: unknown error: Microsoft Edge failed to start: exited normally.\n (unknown error: DevToolsActivePort file doesn't exist)\n (The process started from msedge location C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe is no longer running, so msedgedriver is assuming that \nmsedge has crashed.)\nStacktrace:\nBacktrace:\n GetHandleVerifier [0x00007FF724165372+69586]\n Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF7240F55B2+760242]\n (No symbol) [0x00007FF723EAB80C]\n (No symbol) [0x00007FF723EDCB9B]\n (No symbol) [0x00007FF723ED7C71]\n (No symbol) [0x00007FF723F1B371]\n (No symbol) [0x00007FF723F12AC3]\n (No symbol) [0x00007FF723EE57DE]\n (No symbol) [0x00007FF723EE4AAB]\n (No symbol) [0x00007FF723EE5F64]\n Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00007FF72433D179+1294553]\n (No symbol) [0x00007FF723F64934]\n Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF724043D31+33073]\n Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF72403C349+1865]\n Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00007FF72433BD51+1289393]\n Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF7240FDBB8+20184]\n Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF7240FA244+5476]\n Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF7240FA33C+5724]\n Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF7240EEBF1+733369]\n BaseThreadInitThunk [0x00007FFAD4C87614+20]\n RtlUserThreadStart [0x00007FFAD56826B1+33]\npython报错如何解决内容:这个错误是由于启动Microsoft Edge浏览器失败导致的。可能的解决方法如下:\n\n1. 确保你已经安装了Microsoft Edge浏览器,并且版本是最新的。如果没有安装,可以从Microsoft官方网站下载并安装。\n\n2. 检查你的代码中的WebDriver路径是否正确。确保你指定的路径是msedgedriver.exe的正确路径。\n\n3. 如果你已经安装了Microsoft Edge浏览器并且路径正确,尝试重新安装msedgedriver。你可以从Selenium官方网站下载最新版本的msedgedriver,并将其替换为现有的驱动程序。\n\n4. 检查你的代码中是否有其他错误。确保你的代码没有其他语法或逻辑错误。\n\n如果以上方法都无法解决问题,可以尝试使用其他浏览器驱动程序,例如ChromeDriver或FirefoxDriver,看看是否可以正常工作。\n