推荐学习书目
› 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 · 2635 views
    This topic created in 3238 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
    ChenJinluo
    OP
    Jan 4, 2018
    1
    郁闷账号太新图发布出来
    linap
    linap
    Jan 4, 2018 via Android
    2
    应该不影响接下来的操作
    ChenJinluo
    ChenJinluo
    OP
    Jan 4, 2018
    3
    @linap 简单的操作确实不影响,我就怕之后突然出了什么问题。所以想知道这个报错的原因是啥-。-
    ChenJinluo
    ChenJinluo
    OP
    Jan 4, 2018
    4
    错误是 EGL_NOT_INITIALIZED。 主题里少写了个 E
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4646 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 03:16 · PVG 11:16 · LAX 19:16 · JFK 22:16
    ♥ Do have faith in what you're doing.