Giter Site home page Giter Site logo

Linux版的问题 about panda-learning HOT 6 OPEN

tasagapro avatar tasagapro commented on June 24, 2024
Linux版的问题

from panda-learning.

Comments (6)

Alivon avatar Alivon commented on June 24, 2024

chromedriver 地址问题 请放在主程序相同文件路径下

from panda-learning.

xenonum avatar xenonum commented on June 24, 2024

Traceback (most recent call last):
File "pandalearning.py", line 176, in
File "pandalearning.py", line 21, in user_flag
File "pdlearn/dingding.py", line 23, in dd_login_status
File "pdlearn/mydriver.py", line 22, in init
File "selenium/webdriver/chrome/webdriver.py", line 81, in init
File "selenium/webdriver/remote/webdriver.py", line 157, in init
File "selenium/webdriver/remote/webdriver.py", line 252, in start_session
File "selenium/webdriver/remote/webdriver.py", line 321, in execute
File "selenium/webdriver/remote/errorhandler.py", line 242, in check_response
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
(Driver info: chromedriver=73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72),platform=Linux 4.15.0-47-generic x86_64)

from panda-learning.

xenonum avatar xenonum commented on June 24, 2024

how to fix it?

from panda-learning.

zyftank avatar zyftank commented on June 24, 2024

给浏览器加个参数--no-sandbox试试

from panda-learning.

xenonum avatar xenonum commented on June 24, 2024

给浏览器加个参数--no-sandbox试试

linux下怎么加?加在/usr/bin/google-chrome 里?

from panda-learning.

zyftank avatar zyftank commented on June 24, 2024

这个是在源代码里加的

from panda-learning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.