On Wed, Feb 22, 2012 at 11:49 AM, Sébastien Billion
<sebastien.bill...@gmail.com> wrote:
> Hi,
>
> Maybe you missed to add selenium in INSTALLED_APP in settings.py ...
>

selenium is not a django app, it is a python library:

http://pypi.python.org/pypi/selenium

Only django apps need to go in INSTALLED_APPS. Please don't blindly
recommend people to put stuff into INSTALLED_APPS unless you know what
it is for.

OP: It works for me (see log below). Try reinstalling?

Cheers

Tom

tom@voncount '11:57:01' '~/tmp/selenium'
> $ virtualenv environ
New python executable in environ/bin/python2.7
Also creating executable in environ/bin/python
Installing setuptools............done.
Installing pip...............done.
tom@voncount '11:57:08' '~/tmp/selenium'
> $ . ./environ/bin/activate
(environ)tom@voncount '11:57:14' '~/tom/tmp/selenium'
> $ pip install selenium
Downloading/unpacking selenium
  Downloading selenium-2.19.1.tar.gz (4.0Mb): 4.0Mb downloaded
  Running setup.py egg_info for package selenium
    /usr/local/lib/python2.7/distutils/dist.py:267: UserWarning:
Unknown distribution option: 'src_root'
      warnings.warn(msg)

    warning: no files found matching 'docs/api/py/index.rst'
Installing collected packages: selenium
  Running setup.py install for selenium
    /usr/local/lib/python2.7/distutils/dist.py:267: UserWarning:
Unknown distribution option: 'src_root'
      warnings.warn(msg)

    warning: no files found matching 'docs/api/py/index.rst'
Successfully installed selenium
Cleaning up...
(environ)tom@voncount '11:57:33' '~/tmp/selenium'
> $ python
Python 2.7.1 (r271:86832, Dec 13 2010, 15:52:15)
[GCC 4.2.1 20070719  [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> import selenium
>>> selenium.__version__
'2.19.0'
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to