求救。from selenium import webdrive 报错
selenium吧
全部回复
仅看楼主
level 1
pad123 楼主
python3.52. win10 64bit
用pip freeze确认了一下已经装好了,单独import selenium也正常,但是from selenium import webdrive就会报一堆,求大神看看是啥问题。
from selenium import webdriver
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from selenium import webdriver
File "C:\Users\38091\AppData\Local\Programs\Python\Python35\lib\site-packages\selenium-3.0.0b1-py3.5.egg\selenium\webdriver\__init__.py", line 25, in <module>
from .safari.webdriver import WebDriver as Safari # noqa
File "C:\Users\38091\AppData\Local\Programs\Python\Python35\lib\site-packages\selenium-3.0.0b1-py3.5.egg\selenium\webdriver\safari\webdriver.py", line 49
executable_path = os.environ.get("SELENIUM_SERVER_JAR")
^
TabError: inconsistent use of tabs and spaces in indentation
2016年07月30日 13点07分 1
1