pip error while installing package in Cygwin/Python2.7

Viewed 6964

I installed Python2.7.3 in Cygwin using this guide, I then installed pip from source.

When I try to use pip:

$ pip install sqlalchemy
Downloading/unpacking sqlalchemy
Downloading SQLAlchemy-0.7.8.tar.gz (2.6Mb): 2.6Mb downloaded
Running setup.py egg_info for package sqlalchemy
  137 [main] python2.7 1060 child_info_fork::abort: address space needed by 'itertools.dll' (0x2C0000) is already occupied
  Error [Errno 11] Resource temporarily unavailable while executing command python setup.py egg_info
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
  status = self.run(options, args)
File "/usr/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
  requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1009, in prepare_files
  req_to_install.run_egg_info()
File "/usr/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 225, in run_egg_info
  command_desc='python setup.py egg_info')
File "/usr/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py", line 221, in call_subprocess
  cwd=cwd, env=env)
File "/usr/local/lib/python2.7/subprocess.py", line 679, in __init__
  errread, errwrite)
File "/usr/local/lib/python2.7/subprocess.py", line 1143, in _execute_child
  self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable

Storing complete log in /home/joshfriend/.pip/pip.log

Found a guide noting that this happens, and said that running rebaseall should fix this. I tried, and it didn't. I would assume that this is because I did not install python2.7 with the cygwin installer and therefore was not affected by the rebaseall.

UPDATE:

I gave the wrong link to the instructions I used to install python (sorry). I went back and fixed my explanation of what I did...

2 Answers
Related