Re: "manage.py" command not found
Hi, Put python (Location of install python directory. mainly C:\Python26\) in your windows environment variable path also with django-admin.py path. Thanks, Mitesh Patel Senior OpenSource Executive, Mobile: +91-97110-99601 Email: mitesh.patel1...@gmail.com LinkedIn : http://in.linkedin.com/in/miteshpatel11 On 31 August 2011 01:54, Yves S. Garretwrote: > Maybe you have Python installed somewhere that's not described in the > shebang line? > > Don't know, don't know your environment. Glad that your stuff works now :) > . > > > On Tue, Aug 30, 2011 at 4:22 PM, Phil wrote: > >> I opened my "manage.py" file to insert the line, but it was already there >> on the first line. >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/uXSA23Fl7iEJ. >> >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: "manage.py" command not found
Maybe you have Python installed somewhere that's not described in the shebang line? Don't know, don't know your environment. Glad that your stuff works now :) . On Tue, Aug 30, 2011 at 4:22 PM, Philwrote: > I opened my "manage.py" file to insert the line, but it was already there > on the first line. > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/uXSA23Fl7iEJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: "manage.py" command not found
On 08/30/2011 04:18 PM, Yves S. Garret wrote: I don't know about Windows (if anyone does, please say so), but in a *nix OS putting this (don't remember its official name) at the top of your file can help: #!/usr/bin/env python It's called a 'shebang line,' and it's ignored in Windows. It's important in *nix, but the file still has to be executable. If you invoke Python manually then the line isn't necessary. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: "manage.py" command not found
I opened my "manage.py" file to insert the line, but it was already there on the first line. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/uXSA23Fl7iEJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: "manage.py" command not found
I don't know about Windows (if anyone does, please say so), but in a *nix OS putting this (don't remember its official name) at the top of your file can help: #!/usr/bin/env python On Tue, Aug 30, 2011 at 4:11 PM, Philwrote: > The permissions were OK, but putting python in front of it seems to have > worked(I have database connection issue now, but once I fix that I reckon it > will be work)! > > Thanks Yves, big help! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/Y0D0NYyo4Q8J. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: "manage.py" command not found
The permissions were OK, but putting python in front of it seems to have worked(I have database connection issue now, but once I fix that I reckon it will be work)! Thanks Yves, big help! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Y0D0NYyo4Q8J. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: "manage.py" command not found
Put python in front of it or check permissions to make it executable? On Tue, Aug 30, 2011 at 4:01 PM, Philwrote: > Hi, > > I'm running the latest django 1.4 alpha from the repository. > > I have a django project hosted on bitbucket, I run the bitbucket "clone" > command and pull down my code onto my server. But when I go into my project > folder and run the command... > > "./manage.py runfcgi method=threaded host=127.0.0.1 port=8080" > > I get the following error... > > "manage.py: command not found" > > If I start a project directly on my server running the "startproject" > command it works fine, it's only when I clone a project onto my server I get > this. > > Is there anything I can do to make my cloned projects work? As I need to be > able to pull the latest project versions from my repositories. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/14GRq9ygTJsJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: manage.py command not found
Assuming the South is very similar to Django from the documentation at the link. Here are some pointers. 1. Have you tried listing manage.py by trying ls command? 2. If you try ls -l, what are the permissions for manage.py? 3. Have you tried python manage.py? 4. Is there a shebang line at the top of manage.py file assuming the file exists? Please try these approaches. Hope this helps. Thanks and Regards, Sumod On Wed, Mar 30, 2011 at 8:19 PM, jay K.wrote: > > Hello, > > I am following the tutorial at > http://south.aeracode.org/docs/installation.html#installation-configure in > order > to install South. > > I've installed it successfully and modified INSTALLED_APPS so > it includes 'south', in the settings.py > > now I execute the command: ./manage.py shell inside my current project, but > get a "permission denied" message, > so I execute the same command, this time with sudo, so sudo ./manage.py , > but it tells me that > ./manage.py command not found > > can anyone explain me what's wrong? > > thanks > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- http://spawgi.wordpress.com We can do it and do it better. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: manage.py command not found
If you're talking about the line that imports your app, that usually means you have an error in your application code (the views or the models). Try starting the shell and run "import x" manually and see what errors you get. -Eddie On Mar 30, 11:57 am, "jay K."wrote: > hi, Shawn > > I finally managed to get python manage.py shell to work, by commenting > out those INSTALLED_APPS that had an issue with 'import x' > > it turns out that 'import x' was the problem. > > do you have any suggestions to fix 'import x'? > > thanks > > On Wed, Mar 30, 2011 at 12:25 PM, jay K. wrote: > > > > > Hello, Shawn > > > I type python manage.py shell in my project directory and get the following > > error > > > Error: No module named xx > > > regards > > > On Wed, Mar 30, 2011 at 11:52 AM, Shawn Milochik wrote: > > >> Check the permissions on manage.py. I'm guessing it's not executable. > > >> Either use chmod +x on manage.py or execute it with Python: python > >> manage.py. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Django users" group. > >> To post to this group, send email to django-users@googlegroups.com. > >> To unsubscribe from this group, send email to > >> django-users+unsubscr...@googlegroups.com. > >> For more options, visit this group at > >>http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: manage.py command not found
On Wed, Mar 30, 2011 at 11:57 AM, jay K.wrote: > > hi, Shawn > > I finally managed to get python manage.py shell to work, by commenting > out those INSTALLED_APPS that had an issue with 'import x' > > it turns out that 'import x' was the problem. > > do you have any suggestions to fix 'import x'? Depends on what x is. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: manage.py command not found
hi, Shawn I finally managed to get python manage.py shell to work, by commenting out those INSTALLED_APPS that had an issue with 'import x' it turns out that 'import x' was the problem. do you have any suggestions to fix 'import x'? thanks On Wed, Mar 30, 2011 at 12:25 PM, jay K.wrote: > Hello, Shawn > > I type python manage.py shell in my project directory and get the following > error > > Error: No module named xx > > regards > > > On Wed, Mar 30, 2011 at 11:52 AM, Shawn Milochik wrote: > >> Check the permissions on manage.py. I'm guessing it's not executable. >> >> Either use chmod +x on manage.py or execute it with Python: python >> manage.py. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: manage.py command not found
Hello, Shawn I type python manage.py shell in my project directory and get the following error Error: No module named xx regards On Wed, Mar 30, 2011 at 11:52 AM, Shawn Milochikwrote: > Check the permissions on manage.py. I'm guessing it's not executable. > > Either use chmod +x on manage.py or execute it with Python: python > manage.py. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: manage.py command not found
Hi, Try it: python manage.py On Wed, Mar 30, 2011 at 9:52 AM, Shawn Milochikwrote: > Check the permissions on manage.py. I'm guessing it's not executable. > > Either use chmod +x on manage.py or execute it with Python: python > manage.py. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: manage.py command not found
Check the permissions on manage.py. I'm guessing it's not executable. Either use chmod +x on manage.py or execute it with Python: python manage.py. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.