installation invisible

39 views
Skip to first unread message

Diogene Laerce

unread,
Oct 7, 2013, 9:50:33 AM10/7/13
to django...@googlegroups.com
Hi,

I installed django through pip :

______________________________________________________
Downloading/unpacking Django==1.5.4
Downloading Django-1.5.4.tar.gz (8.1Mb): 8.1Mb 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
Running setup.py install for Django
changing mode of build/scripts-2.6/django-admin.py from 644 to 755
warning: no previously-included files matching '__pycache__' found under
directory '*'
warning: no previously-included files matching '*.py[co]' found under
directory '*'
changing mode of /usr/local/bin/django-admin.py to 755
Successfully installed Django
Cleaning up...
______________________________________________________

But I actually use pythonbrew for python 2.7.5 and pip installed it for
the system which is python 2.6.6.

How can I install it for the correct version (2.7.5) ?

Thank you

--
�One original thought is worth a thousand mindless quotings.�

�Le vrai n'est pas plus s�r que le probable.�


Diogene Laerce

Mando

unread,
Oct 7, 2013, 10:56:04 AM10/7/13
to django...@googlegroups.com
Hi,

One option would be to set your pythonbrew install in your path. Or Execute pip using the absolute path to your python install. Either way you will still need to set your path.

Tom Evans

unread,
Oct 7, 2013, 11:57:20 AM10/7/13
to django...@googlegroups.com
pip is a python program, it will install python packages in to the
site installation directory of the python it is run with.

Therefore, if it is not installing packages where you want, make sure
you are running pip with the python that you want to use the package
with.

Cheers

Tom
> “One original thought is worth a thousand mindless quotings.”
>
> “Le vrai n'est pas plus sûr que le probable.”
>
>
> Diogene Laerce
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5252BC29.6060100%40yahoo.fr.
> For more options, visit https://groups.google.com/groups/opt_out.

Diogene Laerce

unread,
Oct 7, 2013, 10:31:35 PM10/7/13
to django...@googlegroups.com

> pip is a python program, it will install python packages in to the
> site installation directory of the python it is run with.
>
> Therefore, if it is not installing packages where you want, make sure
> you are running pip with the python that you want to use the package
> with.
>

It's actually what I did but I did act dumb following the django website
instructions at the letter : I put 'sudo' before "pip install..".

So everything is in place now as pythonbrew is in my home.. ^^

Thanks a lot.
Reply all
Reply to author
Forward
0 new messages