0
我有Arch linux,最近它的python軟件包升級到了第三個分支。現在我無法運行selenium-python綁定。當我運行它時(即使使用舊python版本),我得到:新版本的錯誤
from selenium import selenium
File "/usr/lib/python2.7/site-packages/selenium-2.0a5-py2.7.egg/selenium/__init__.py", line 23, in <module>
from selenium.selenium import selenium
File "/usr/lib/python2.7/site-packages/selenium-2.0a5-py2.7.egg/selenium/selenium/selenium.py", line 193
raise Exception, result
它可能是什麼? (順便說一句,看起來我的硒是用2.6 python構建的)。
UPD我試圖重新獲得硒,但:
easy_install-2.7 selenium
install_dir /usr/lib/python2.7/site-packages/
Searching for selenium
Best match: selenium 2.0a5
Processing selenium-2.0a5-py2.7.egg
selenium 2.0a5 is already the active version in easy-install.pth
Using /usr/lib/python2.7/site-packages/selenium-2.0a5-py2.7.egg
Processing dependencies for selenium
Finished processing dependencies for selenium