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

2014-05-03 Thread Lee
You are welcome, glad it helped :) -- 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+unsubscr...@googlegroups.com. To post to this group, send email t

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

2014-05-03 Thread Fred DJar
FINALLY the server is running the problem was is two dependencies django-userena and django-bootstrap-form. and the userena dependency was relying on another dependency which is six (the core of the problem) because it didn't installed automatically when installing userena so i had to install

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

2014-05-03 Thread Fred DJar
the boostrapform was installed correctly but there's still some problems as you said this is not my code, and i will try to contact the guy who write the code and get the missing dependencies On Sa

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

2014-05-03 Thread Lee
Actually, its probably the same problem as from the start as I see your install from the requirements file only installed Django itself and nothing else. THerefore I presume it does not have a list of all the dependencies you need. Assuming the last error was again "ImportError : No module named

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

2014-05-03 Thread Lee
Can you copy the complete error across? The end of it is all important and its chopped off in the screenshot. Thanks On Saturday, 3 May 2014 16:25:57 UTC+1, Fred DJar wrote: > > Thanks > the second solution worked fine and the requirements were installed > > but again when i tried to run the se

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

2014-05-03 Thread Fred DJar
Thanks the second solution worked fine and the requirements were installed but again when i tried to run the server this is what i got On Monday, 28 April 2014 11:03:40 UTC+1, Fred DJar wrote: > >

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

2014-05-02 Thread Lee
Whoops sorry, should have thought, rmvirtualenv and mkvirtualenv come with virtualenvwrapper, not the default virtualenv... Regarding the first error, was that the whole error or was there some more after where the screenshot cut off? Looks like it tried to install django that time so I guess t

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

2014-05-02 Thread Fred DJar
Trying your first solution gave me this error messages ! And trying the second solution gave me the message that rmvirtualenv : command not found ! On Friday, 2 May 2014 23:26:43 UTC+1, Lee wrote:

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

2014-05-02 Thread Lee
So it looks like its uninstalling the Django you already have installed in the global packages, in order to install the version specified in the requirements file, but is hitting a permissions error in doing so because you are not logged in as root (or elevating with sudo). I presume your virtu

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

2014-05-02 Thread Fred DJar
I got this error message trying to fetch the requirements On Monday, 28 April 2014 11:03:40 UTC+1, Fred DJar wrote: > > > > > *Hello guys, i'm a newbie so bear with me :)I have installed python 2

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

2014-05-02 Thread Fred DJar
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

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

2014-05-02 Thread Andreas Kuhne
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 : > You are not running your

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

2014-05-02 Thread Andreas Kuhne
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 r

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

2014-05-02 Thread Fred DJar
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 scre

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

2014-05-01 Thread Lee
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 user

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

2014-05-01 Thread Fred DJar
yes i know because i've installed django before trying to work the virtualenv problem On Friday, 2 May 2014 01:05:20 UTC+1, Lee wrote: > > Also be aware that from the stack trace, it looks like you have django > installed into the global site packages rather than your virtualenv. The > main po

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

2014-05-01 Thread Fred DJar
so i'm in the directory /usr/local/lib/python2.7/dist-packages/django/core/management and now i should run the command pip install -r requirements and replace requirements with the missing file (for example base.py) is that it?? *i'm sorry if my questions seems dumb* On Friday, 2 May 2014 00:5

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

2014-05-01 Thread Lee
Also be aware that from the stack trace, it looks like you have django installed into the global site packages rather than your virtualenv. The main point of virtualenv is to avoid that and have isolated environments. But it's not really a problem as long as you are aware of the fact that you ar

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

2014-05-01 Thread Lee
Next command: pip install -r requirements >From the directory where the requirements file is of course... And assuming >the requirements file has all the requirements of whatever you are trying to >run in it -- You received this message because you are subscribed to the Google Groups "Django

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

2014-05-01 Thread Fred DJar
Lol, thanks that was super easy but now i have another problem, i'm missing some packages even though i'm in the virtualenv here is a screenshot demonstration On Monday, 28 April 2014 11:03:40

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

2014-05-01 Thread Lee
Enter the following command from the bin folder: *source activate* Thanks On Monday, 28 April 2014 11:03:40 UTC+1, Fred DJar wrote: > > > > > *Hello guys, i'm a newbie so bear with me :)I have installed python 2.7 > and django 1.6 on my desktop (ubuntu 14)but i can't run the application or > a

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

2014-05-01 Thread Fred DJar
Thank you for your response i've made a screenshot to illustrate clearly what happening btw i'm not familiar with virtualenv in ubuntu i've only used it on windows and in order to activate the virtualenv i just run the activate the command. maybe this is not the case in ubuntu!! maybe it shoul

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

2014-05-01 Thread Lee
Please be more specific about your problem as its difficult to help when we don't know exactly what you are seeing. Have you managed to activate your virtualenv on ubuntu? If not, what specific error are you getting? I see two problems here so far, regarding the import error, that means you are

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

2014-05-01 Thread Fred DJar
Iv'e run it on ubuntu terminal but still not working On Tuesday, 29 April 2014 14:35:39 UTC+1, Rene Zelaya wrote: > > Hi Fred, > > Yes, definitely, I think you should run it on a Ubuntu terminal - I'm not > that familiar with the Windows terminal > > > On Monday, April 28, 2014 10:10:29 AM UTC-4,

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

2014-04-29 Thread Rene Zelaya
Hi Fred, Yes, definitely, I think you should run it on a Ubuntu terminal - I'm not that familiar with the Windows terminal On Monday, April 28, 2014 10:10:29 AM UTC-4, Fred DJar wrote: > > Thanks Rene > The virtualenv was created in Ubuntu but now i'm running windows, should i > run it in Ubun

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

2014-04-28 Thread Fred DJar
Thanks Rene The virtualenv was created in Ubuntu but now i'm running windows, should i run it in Ubuntu because i've noticed that virtualenv folder structure differentiate from Ubuntu to windows this is the message i got from the prompt command: activate is not recognized as an internal or exter

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

2014-04-28 Thread Rene Zelaya
Hi Fred - So if you can't activate your virtualenv, and you installed Django in that virtualenv, that is likely the root of your problem, because without it, none of the modules will appear as installed and you will not be able to run the server (or access the python manage.py shell, etc). I

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

2014-04-28 Thread Fred DJar
There is one other line: ImportError : No module named bootstrapform On Monday, 28 April 2014 11:34:35 UTC+1, Victor Hooi wrote: > > Hi Fred, > > Are there any lines *below* the error message you pasted? > > The last line I can see is: > > File "/usr/local/lib/python2.7/dist-packages/django/utils/

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

2014-04-28 Thread Victor Hooi
Hi Fred, Are there any lines *below* the error message you pasted? The last line I can see is: File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", > line 40, in import_module __import__(name) Is there anything else? Cheers, Victor On Monday, 28 April 2014 03:03:40