title: How to install Selenium2Library for Robot Framework using pip + Jython?
body: <p>Since version 2.7.0 Jython contains pip bundled in. It just needs to be activated by running the following command before using it:</p>
  
  <pre><code>jython -m ensurepip
  </code></pre>
  
  <p>So actually after that it should be possible to install Selenium2Library for Robot Framework with</p>
  
  <pre><code>jython -m pip install robotframework-selenium2library
  </code></pre>
  
  <p>right?</p>
  
  <p>But when I do this I get the following error:</p>
  
  <pre><code>AttributeError: 'module' object has no attribute 'geteuid'
  </code></pre>
  
  <p>Here is the full cmd / shell output:</p>
  
  <pre><code>C:\foldername&gt;jython -m pip install selenium2library
  Traceback (most recent call last):
    File "C:\Jython27\Lib\runpy.py", line 151, in _run_module_as_main
      mod_name, loader, code, fname = _get_module_details(mod_name)
    File "C:\Jython27\Lib\runpy.py", line 151, in _run_module_as_main
      mod_name, loader, code, fname = _get_module_details(mod_name)
    File "C:\Jython27\Lib\runpy.py", line 109, in _get_module_details
      return _get_module_details(pkg_main_name)
    File "C:\Jython27\Lib\runpy.py", line 109, in _get_module_details
      return _get_module_details(pkg_main_name)
    File "C:\Jython27\Lib\runpy.py", line 101, in _get_module_details
      loader = get_loader(mod_name)
    File "C:\Jython27\Lib\pkgutil.py", line 478, in get_loader
      return find_loader(fullname)
    File "C:\Jython27\Lib\pkgutil.py", line 488, in find_loader
      for importer in iter_importers(fullname):
    File "C:\Jython27\Lib\pkgutil.py", line 439, in iter_importers
      __import__(pkg)
    File "C:\Jython27\Lib\site-packages\pip\__init__.py", line 10, in &lt;module&gt;
      from pip.util import get_installed_distributions, get_prog
    File "C:\Jython27\Lib\site-packages\pip\util.py", line 17, in &lt;module&gt;
      from pip.locations import (
    File "C:\Jython27\Lib\site-packages\pip\locations.py", line 109, in &lt;module&gt;
      build_prefix = _get_build_prefix()
    File "C:\Jython27\Lib\site-packages\pip\locations.py", line 90, in _get_build_
  prefix
      if file_uid != os.geteuid():
  AttributeError: 'module' object has no attribute 'geteuid'
  </code></pre>
  
  <p>Why am I getting this error?</p>
  
  <p>BTW: installing from source works nice with</p>
  
  <pre><code>jython setup.py install
  </code></pre>
  
  <p>Addition information: I´m on Windows 8.1 64 bit with Java 1.8, Jython 2.7.0, Robot Framework 2.8.7</p>