Setting up django-nonrel?

I'm trying to set up django-nonrel into a new virtualenv, but am getting an error saying: OSError: [Errno 2] No such file or directory.

I can't tell from the error log exactly which file or directory is missing. Please could anyone suggest what might be going wrong?

The bitbucket file seems to be present:

(nonrel)delirium:nonrel anna$ pip install hg+
Downloading/unpacking hg+
  Cloning hg to /var/folders/q5/_0_8qh59147_0vmr8tm1_mq80000gn/T/pip-3Trv56-build
  Error [Errno 2] No such file or directory while executing command /usr/local/bin/hg clone --noupdate -q /var/folders/q5/_0_8qh59147_0vmr8tm1_mq80000gn/T/pip-3Trv56-build
Traceback (most recent call last):
  File "/Users/anna/Dropbox/nonrel/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/", line 104, in main
    status =, args)
  File "/Users/anna/Dropbox/nonrel/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/Users/anna/Dropbox/nonrel/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/", line 985, in prepare_files
    self.unpack_url(url, location, self.is_download)
  File "/Users/anna/Dropbox/nonrel/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/", line 1103, in unpack_url
    return unpack_vcs_link(link, loc, only_download)
  File "/Users/anna/Dropbox/nonrel/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/", line 294, in unpack_vcs_link
  File "/Users/anna/Dropbox/nonrel/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/vcs/", line 233, in unpack
  File "/Users/anna/Dropbox/nonrel/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/vcs/", line 81, in obtain
    call_subprocess([self.cmd, 'clone', '--noupdate', '-q', url, dest])
  File "/Users/anna/Dropbox/nonrel/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/", line 221, in call_subprocess
    cwd=cwd, env=env)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 672, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 1202, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Storing complete log in /Users/anna/.pip/pip.log

What is going wrong?


I'd recommend getting the latest version from github

You'd wanna use git to download it rather than pip.

Need Your Help

Identical names for methods and properties

objective-c cocoa properties

The following code compiles just fine - but are there any issues with it?

Searching for text in a database with Entity Framework

c# .net linq oracle entity-framework

I'm writing a UI that allows a someone to lookup users by their first and/or last name. For example, if you typed in "Mike" for the first name and "Jo" for the last name, it would return "Mike Jon...