Installing PIP
Using PIP to Install Selenium
$ which pip /usr/bin/pip $ pip Usage: pip COMMAND [OPTIONS] pip: error: You must give a command (use "pip help" to see a list of commands) plh@mira /c/Downloads $ pip help Usage: pip COMMAND [OPTIONS] Options: --version show program's version number and exit -h, --help Show help -E DIR, --environment=DIR virtualenv environment to run pip in (either give the interpreter or the environment base directory) -s, --enable-site-packages Include site-packages in virtualenv if one is to be created. Ignored if --environment is not used or the virtualenv already exists. -v, --verbose Give more output -q, --quiet Give less output --log=FILENAME Log file where a complete (maximum verbosity) record will be kept --proxy=PROXY Specify a proxy in the form user:passwd@proxy.server:port. Note that the user:password@ is optional and required only if you are behind an authenticated proxy. If you provide user@proxy.server:port then you will be prompted for a password. --timeout=SECONDS, --default-timeout=SECONDS Set the socket timeout (default 15 seconds) Commands available: bundle: Create pybundles (archives containing multiple packages) freeze: Output all currently installed packages (exact versions) to stdout help: Show available commands install: Install packages search: Search PyPI uninstall: Uninstall packages unzip: Unzip individual packages zip: Zip individual packages $ pip install selenium Downloading/unpacking selenium Downloading selenium-2.1.0.tar.gz (1.5Mb): 1.5Mb downloaded Running setup.py egg_info for package selenium /usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'src_root' warnings.warn(msg) warning: no files found matching '__init__.py' Downloading/unpacking rdflib==3.1.0 (from selenium) Downloading rdflib-3.1.0.tar.gz (249Kb): 249Kb downloaded Running setup.py egg_info for package rdflib 0 [main] python2.6 5408 D:\cygwin\bin\python2.6.exe: *** fatal error - unable to remap \\?\D:\cygwin\lib\python2.6\lib-dynload\time.dll to same address as parent: 0x360000 != 0x410000 Stack trace: Frame Function Args 00289F08 6102796B (00289F08, 00000000, 00000000, 00000000) 0028A1F8 6102796B (6117EC60, 00008000, 00000000, 61180977) 0028B228 61004F1B (611A7FAC, 6124355C, 00360000, 00410000) End of stack trace 0 [main] python2.6 4100 fork: child 5408 - died waiting for dll loading, errno 11 Error [Errno 11] Resource temporarily unavailable while executing command python setup.py egg_info Exception: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pip-1.0.2-py2.6.egg/pip/basecommand.py", line 126, in main self.run(options, args) File "/usr/lib/python2.6/site-packages/pip-1.0.2-py2.6.egg/pip/commands/install.py", line 223, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "/usr/lib/python2.6/site-packages/pip-1.0.2-py2.6.egg/pip/req.py", line 986, in prepare_files req_to_install.run_egg_info() File "/usr/lib/python2.6/site-packages/pip-1.0.2-py2.6.egg/pip/req.py", line 222, in run_egg_info command_desc='python setup.py egg_info') File "/usr/lib/python2.6/site-packages/pip-1.0.2-py2.6.egg/pip/__init__.py", line 220, in call_subprocess cwd=cwd, env=env) File "/usr/lib/python2.6/subprocess.py", line 633, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1049, in _execute_child self.pid = os.fork() OSError: [Errno 11] Resource temporarily unavailable Storing complete log in /home/xxx/.pip/pip.log
Looks like a problem...