Giter Site home page Giter Site logo

ubuntu下报运行不了 about panda-learning HOT 5 CLOSED

alivon avatar alivon commented on July 22, 2024
ubuntu下报运行不了

from panda-learning.

Comments (5)

GeekCatPYG avatar GeekCatPYG commented on July 22, 2024

修改权限后报错:
请输入用户名:XXX
Traceback (most recent call last):
File "pandalearn.py", line 217, in
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.18.0-15-generic x86_64)

[3720] Failed to execute script pandalearn

from panda-learning.

Alivon avatar Alivon commented on July 22, 2024

经过了测试和通过其他人反馈可以运行
通过报错提示你 请确认chromedriver文件是否在当前目录

from panda-learning.

GeekCatPYG avatar GeekCatPYG commented on July 22, 2024

我是下载后直接解压出来用,chromedriver、pandalearn在同一目录中,我把这两个文件放在放在桌面

from panda-learning.

Alivon avatar Alivon commented on July 22, 2024

我是下载后直接解压出来用,chromedriver、pandalearn在同一目录中,我把这两个文件放在放在桌面

检查Chrome是否安装好,其他自能自己阅读使用方案解决了,测试过是能运行的

from panda-learning.

xenonum avatar xenonum commented on July 22, 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.

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.