[melbourne-pug] pip will not downgrade to django 1.5.5 from 1.6.2 on ubuntu 12.04

Brenton Cleeland brenton at brntn.me
Wed Mar 5 06:29:08 CET 2014


This works fine for me on Ubuntu using the -U option.

(piprot-io)sesh at brntn:~/$ pip install -U Django==1.6.1
> Downloading/unpacking Django==1.6.1
>   Downloading Django-1.6.1.tar.gz (6.6MB): 6.6MB downloaded
>   Running setup.py egg_info for package Django
>     warning: no previously-included files matching '__pycache__' found
> under directory '*'
>     warning: no previously-included files matching '*.py[co]' found under
> directory '*'
> Installing collected packages: Django
>   Found existing installation: Django 1.6.2
>     Uninstalling Django:
>       Successfully uninstalled Django
>   Running setup.py install for Django
>     changing mode of build/scripts-2.7/django-admin.py from 664 to 775
>     warning: no previously-included files matching '__pycache__' found
> under directory '*'
>     warning: no previously-included files matching '*.py[co]' found under
> directory '*'
>     changing mode of /home/sesh/.virtualenvs/piprot-io/bin/django-admin.py
> to 775
> Successfully installed Django
> Cleaning up...
> (piprot-io)sesh at brntn:~/$ pip freeze | grep Django
> Django==1.6.1


Cheers,
Brenton


On Wed, Mar 5, 2014 at 3:48 PM, Mike Dewhirst <miked at dewhirst.com.au> wrote:

> Is there a special incantation for pip on Ubuntu???
>
> Notice the "Requested django==1.5.5, but installing version 1.6.2" line
> below. I couldn't see anything obviously wrong with what I did. It works
> fine on Windows.
>
> (Aside: I was able to install using easy_install)
>
> mike at pq3:~$ sudo pip uninstall django
>
>   Successfully uninstalled Django
>
> mike at pq3:~$ sudo pip install -I django==1.5.5
> Downloading/unpacking django==1.5.5
>   Running setup.py egg_info for package django
>   Requested django==1.5.5, but installing version 1.6.2
> Installing collected packages: django
>   Running setup.py install for django
>
>     changing mode of /usr/local/bin/django-admin.py to 755
> Successfully installed django
> Cleaning up...
> mike at pq3:~$
>
> Thanks anyone
>
> Mike
> _______________________________________________
> melbourne-pug mailing list
> melbourne-pug at python.org
> https://mail.python.org/mailman/listinfo/melbourne-pug
>



-- 
Cheers,
Brenton

http://brntn.me // @sesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/melbourne-pug/attachments/20140305/95fb59e1/attachment.html>


More information about the melbourne-pug mailing list