推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
ChenJinluo
V2EX  ›  Python

Python 爬虫萌新刚学习用 Selenium 遇到个小问题 0_0?

  •  
  •   ChenJinluo · Jan 4, 2018 · 2528 views
    This topic created in 3188 days ago, the information mentioned may be changed or developed.
    from selenium import webdriver

    browser = webdriver.Chrome()
    browser.get('https://www.baidu.com/')


    上面的代码就是驱动 Chrome 打开百度首页,能成功执行,但是却报了个错误 GL_NOT_INITIALIZED。

    请问这是怎么回事呢?
    4 replies  •  2018-01-04 19:42:52 +08:00
    ChenJinluo
        1
    ChenJinluo  
    OP
       Jan 4, 2018
    郁闷账号太新图发布出来
    linap
        2
    linap  
       Jan 4, 2018 via Android
    应该不影响接下来的操作
    ChenJinluo
        3
    ChenJinluo  
    OP
       Jan 4, 2018
    @linap 简单的操作确实不影响,我就怕之后突然出了什么问题。所以想知道这个报错的原因是啥-。-
    ChenJinluo
        4
    ChenJinluo  
    OP
       Jan 4, 2018
    错误是 EGL_NOT_INITIALIZED。 主题里少写了个 E
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   996 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:48 · PVG 01:48 · LAX 10:48 · JFK 13:48
    ♥ Do have faith in what you're doing.