Friday, May 2, 2014

Re: I can't run django server nor activate the virtualenv

OMG another problem appeared from nowhere 
the "source activate" command is not working. i can't activate my virtualenv





On Friday, 2 May 2014 14:50:12 UTC+1, Andréas Kühne wrote:
You can always see if your shell is running with a virtual environment, by the (env) in front of the prompt. If you check your last screenshot, you will see that you are running in a virtualenvironment there.

Regards,

Andréas

2014-05-02 15:48 GMT+02:00 Andreas Kuhne <andrea...@suitopia.com>:
You are not running your commands in a virtual environment. You can't run pip outside the virtual environment because that requires root permissions. If you type "sudo pip install -r requirements", it will install the files, but I'm not sure you want to do that. 

Every shell you open, you have to run "source activate" from the bin folder. Otherwise you will be running on the systems default.

So before you write "pip install -r requirements", make sure you are in the bin folder and write "source activate".

Regards,

Andréas

2014-05-02 15:29 GMT+02:00 Fred DJar <safou...@hotmail.com>:


I've got an error message running the last command. here is the screenshot



On Friday, 2 May 2014 07:52:24 UTC+1, Lee wrote:
No, you were in the right locatin before. Look at your last screenshot. There was a file called requirements and you do it from there. If it does not work, please confirm what is in that requirements file

--
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/fea28e89-1b67-475d-8959-a345cdb65473%40googlegroups.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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fe2c39f5-4bc6-4478-b0ed-8c42d9610faa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment