2010-11-22 2 views
0

私はArch linuxを持っていますが、最近pythonパッケージが第3ブランチにアップグレードされました。今はセレニウムと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 

何ができますか? (Btw、私のセレンが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 

答えて

1

私はそれを試してみた、それは私のために動作します。このエラーは、selenium.pyの193行目がSeleniumオブジェクトの "start"メソッドの一部であり、インポート時に呼び出されるべきではないので、私にとって意味をなさないものです。

user groupと尋ねることがありますか?

関連する問題