Python-No such file or directory getAttribute.js

后端 未结 3 393
甜味超标
甜味超标 2021-01-07 14:12

I had a Python selenium program working a week or so ago. Now selenium fails on the import:

from selenium import webdriver

The IDLE ouput:<

3条回答
  •  梦毁少年i
    2021-01-07 14:49

    Your webdriver installation files are either corrupted or missing. Reinstall/upgrade the webdriver eggs.

    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Mike\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\selenium\\webdriver\\remote\\getAttribute.js'
    

    Try this:

    pip install selenium --upgrade
    

提交回复
热议问题