Hi Fabian,

I see you have a too old pip version. Sorry for not giving you a
faster reply, but just do:
$ pip install --upgrade pip

And you will get the latest version from PyPI (0.8.1 by now).

I tried to install the package you did, and it worked here.
http://paste.pocoo.org/show/294334/

Just update it!
Hugo.

On Tue, Oct 19, 2010 at 9:19 AM, Fabian Sturm <[email protected]> wrote:
> Hi,
>
> I am using pip version 0.3.1 on Ubuntu Linux 9.10 to install django-piston
> in a virtualenv.
>
> Since I need a specific version of django-piston I have the following entry
> in the requirements.txt file:
>
> -e
> hg+http://bitbucket.org/jespern/django-pis...@dc0ee00d3bfc#egg=django-piston
>
> The first time the install works fine with pip but on the second time I get
> the following error:
>
> Command hg fetch -q failed with error code 255
> Exception information:
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
>    self.run(options, args)
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
>    requirement_set.install_files(finder, force_root_egg_info=self.bundle)
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 1741, in install_files
>    req_to_install.update_editable()
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 1486, in
> update_editable
>    version_control(self.url).obtain(self.source_dir)
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 2942, in obtain
>    call_subprocess(['hg', 'fetch', '-q'], cwd=dest)
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 3543, in
> call_subprocess
>    % (command_desc, proc.returncode))
> InstallationError: Command hg fetch -q failed with error code 255
>
>
> If I run "hg fetch -q" manually in the django-piston repository I get:
>
> abort: working dir not at branch tip (use "hg update" to check out branch
> tip)
>
> mercurial is at version 1.3.1.
>
> Any ideas what is wrong and how I get it to work?
>
> Thanks a lot,
> Fabian
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> Distutils-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/distutils-sig
>
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to