Monday, July 25, 2016

Re: Installation de Django dans un environnement virtuel.

I think "sudo pip install django" is the problem here as when you so sudo it installs it in the host machine not in virtualenv so the thumb rule says -  dont use sudo when you are working in vitrual env. 

I guess pip install Django==1.X.X would solve the problem.

Suggestion - use pip freeze to list all the installed packages in the virtual env.

Hope this helps.

Bonne Chance
-Sid

On Mon, Jul 25, 2016 at 2:20 AM, ludovic coues <couesl@gmail.com> wrote:
Est-ce que l'erreur survient aussi si la commande est lancé sans sudo ?
Dans un virtualenv, sudo ne devrait pas etre utilisé, on travail avec
des fichiers que l'on a crée, dans notre dossier personnel.

2016-07-24 16:17 GMT+02:00  <webmamoffice@gmail.com>:
> Can You, please, in English describe what a problem You have? I understand
> just that this is some with virtualenv.
>
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/36fed426-aa40-4ab0-bf7a-430de2888240%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEuG%2BTbrZv5TMYSkqbX54dhnrgZ%2Bj1mqqTBN6ah0CMRbctdjqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANtEdp4ewKKdV-jKhLa%3D-CqLxpLgv0H%3DV5ojsz2ZyuFeXfO2Hw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment