久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='mg7TI'><style id='mg7TI'><dir id='mg7TI'><q id='mg7TI'></q></dir></style></legend>

      1. <small id='mg7TI'></small><noframes id='mg7TI'>

        <i id='mg7TI'><tr id='mg7TI'><dt id='mg7TI'><q id='mg7TI'><span id='mg7TI'><b id='mg7TI'><form id='mg7TI'><ins id='mg7TI'></ins><ul id='mg7TI'></ul><sub id='mg7TI'></sub></form><legend id='mg7TI'></legend><bdo id='mg7TI'><pre id='mg7TI'><center id='mg7TI'></center></pre></bdo></b><th id='mg7TI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='mg7TI'><tfoot id='mg7TI'></tfoot><dl id='mg7TI'><fieldset id='mg7TI'></fieldset></dl></div>

          <bdo id='mg7TI'></bdo><ul id='mg7TI'></ul>
        <tfoot id='mg7TI'></tfoot>

      2. WebDriverException:服務 U:/Scraping/chromedriver.exe 意外退

        WebDriverException: Service U:/Scraping/chromedriver.exe unexpectedly exited. Status code was: 1 while working with Chrome and Python(WebDriverException:服務 U:/Scraping/chromedriver.exe 意外退出.狀態碼是:1 在使用 Chrome 和 Pyt
          1. <i id='fIxpy'><tr id='fIxpy'><dt id='fIxpy'><q id='fIxpy'><span id='fIxpy'><b id='fIxpy'><form id='fIxpy'><ins id='fIxpy'></ins><ul id='fIxpy'></ul><sub id='fIxpy'></sub></form><legend id='fIxpy'></legend><bdo id='fIxpy'><pre id='fIxpy'><center id='fIxpy'></center></pre></bdo></b><th id='fIxpy'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='fIxpy'><tfoot id='fIxpy'></tfoot><dl id='fIxpy'><fieldset id='fIxpy'></fieldset></dl></div>
              <tbody id='fIxpy'></tbody>
          2. <tfoot id='fIxpy'></tfoot>

            <legend id='fIxpy'><style id='fIxpy'><dir id='fIxpy'><q id='fIxpy'></q></dir></style></legend>

                <bdo id='fIxpy'></bdo><ul id='fIxpy'></ul>

                  <small id='fIxpy'></small><noframes id='fIxpy'>

                  本文介紹了WebDriverException:服務 U:/Scraping/chromedriver.exe 意外退出.狀態碼是:1 在使用 Chrome 和 Python 時的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我一直在嘗試讓 webdriver 在工作中與 Chrome 中的 Python 一起工作,但我終其一生都無法找出問題所在,盡管一天中的大部分時間都在進行故障排除.

                  I've been trying to get the webdriver to work with Python in Chrome at work, but can't for the life of me figure out what's wrong, despite troubleshooting for most of the day.

                  我已將 chromedriver 解壓縮到我正在工作的文件夾中.我已嘗試將 executable_path 參數與 chromedriver 一起使用.我已嘗試更新 chromedriver 中的選項以指向 Chrome.exe 文件.

                  I've unzipped chromedriver to the folder I'm working in. I've tried using the executable_path argument with chromedriver. I've tried updating the options within chromedriver to direct to the Chrome.exe file.

                  代碼如下.很簡單.'url' 有一個來自代碼前面的地址,我不包括在這里 - 腳本甚至沒有做到那么遠.

                  Code is below. Pretty straightforward. 'url' has an address from earlier in the code that I'm not including here - the script doesn't even make it that far anyways.

                  from selenium import webdriver
                  
                  driver = webdriver.Chrome(executable_path = 'U:/Scraping/chromedriver.exe')
                  driver.get(url)
                  

                  還有錯誤:

                      Traceback (most recent call last):
                  
                    File "<ipython-input-67-db2ce2aa7cdf>", line 1, in <module>
                      runfile('U:/Scraping/Project.py', wdir='U:/Scraping')
                  
                    File "C:ProgramDataAnaconda3libsite-packagesspyderutilssitesitecustomize.py", line 705, in runfile
                      execfile(filename, namespace)
                  
                    File "C:ProgramDataAnaconda3libsite-packagesspyderutilssitesitecustomize.py", line 102, in execfile
                      exec(compile(f.read(), filename, 'exec'), namespace)
                  
                    File "U:/Scraping/Project.py", line 14, in <module>
                      driver = webdriver.Chrome(executable_path = 'U:/Scraping/chromedriver.exe')
                  
                    File "C:ProgramDataAnaconda3libsite-packagesseleniumwebdriverchromewebdriver.py", line 68, in __init__
                      self.service.start()
                  
                    File "C:ProgramDataAnaconda3libsite-packagesseleniumwebdrivercommonservice.py", line 98, in start
                      self.assert_process_still_running()
                  
                    File "C:ProgramDataAnaconda3libsite-packagesseleniumwebdrivercommonservice.py", line 111, in assert_process_still_running
                      % (self.path, return_code)
                  
                  WebDriverException: Service U:/Scraping/chromedriver.exe unexpectedly exited. Status code was: 1
                  

                  推薦答案

                  我和@rvictordelta 有過類似的經歷.出于某種原因,我無法再通過 python 編輯驅動程序所在的位置,并且當我更改為無法正常工作的共享驅動器時.最后,在下面使用了這段代碼.這個版本很好,因為它會檢查最新的 chrome 驅動程序.如果驅動程序存在,它只是使用它,但如果不存在,它會下載并安裝它.

                  I had a similar experience to @rvictordelta. For some reason I could no longer edit the location where the driver was through python, and when I changed to a shared drive for work that wouldn't work as well. Finally, used this code below. This version is good because it checks for the most up to date chrome driver. If the driver exists it simply uses it, but if not it will download and install it.

                  custom_path=r'C:Usersusername'
                  
                  driver = webdriver.Chrome(ChromeDriverManager(path=custom_path).install(),options=chrome_options))
                  

                  這篇關于WebDriverException:服務 U:/Scraping/chromedriver.exe 意外退出.狀態碼是:1 在使用 Chrome 和 Python 時的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)

                      <i id='Ri0ZU'><tr id='Ri0ZU'><dt id='Ri0ZU'><q id='Ri0ZU'><span id='Ri0ZU'><b id='Ri0ZU'><form id='Ri0ZU'><ins id='Ri0ZU'></ins><ul id='Ri0ZU'></ul><sub id='Ri0ZU'></sub></form><legend id='Ri0ZU'></legend><bdo id='Ri0ZU'><pre id='Ri0ZU'><center id='Ri0ZU'></center></pre></bdo></b><th id='Ri0ZU'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Ri0ZU'><tfoot id='Ri0ZU'></tfoot><dl id='Ri0ZU'><fieldset id='Ri0ZU'></fieldset></dl></div>

                      <legend id='Ri0ZU'><style id='Ri0ZU'><dir id='Ri0ZU'><q id='Ri0ZU'></q></dir></style></legend>

                      • <bdo id='Ri0ZU'></bdo><ul id='Ri0ZU'></ul>

                        • <tfoot id='Ri0ZU'></tfoot>
                            <tbody id='Ri0ZU'></tbody>
                          1. <small id='Ri0ZU'></small><noframes id='Ri0ZU'>

                            主站蜘蛛池模板: 精品一区国产 | 国产成人精品一区二区三区 | 精品综合久久 | 精品九九 | av一区二区三区四区 | 日韩午夜在线观看 | 久色网 | 伦理二区 | 毛片一级电影 | 精品国产精品国产偷麻豆 | 亚洲一区在线播放 | 国产精品久久久久久久久久东京 | 在线久草| 午夜精品一区二区三区免费视频 | 99精品久久 | 欧美一区二区三区一在线观看 | 手机在线一区二区三区 | h视频免费在线观看 | 久久精品视频在线观看 | 久久久久国产精品 | 一区二区三区四区国产 | 日韩久久网 | av中文在线观看 | 日韩一区二区三区在线看 | 精品成人佐山爱一区二区 | 亚洲精品第一国产综合野 | 国产一区二区在线免费观看 | 91天堂网 | 曰韩三级| 狠狠爱视频 | 国产日韩一区二区 | 久草色视频 | 成人av在线网站 | 一级做a爰片性色毛片16 | 97av视频| 成人精品国产一区二区4080 | 国产精品1区 | 视频精品一区二区三区 | 成人做爰www免费看 午夜精品久久久久久久久久久久 | 国产一区二区三区四区区 | 看羞羞视频 |