Re: newbie problem: no django.core.management

2007-10-24 Thread tomris
http://www.cnd-industry.com/ --~--~-~--~~~---~--~~ 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 [EM

Re: newbie problem: no django.core.management

2007-10-24 Thread johannes
Ok. Thank you all. I now downloaded the current release directly from djangoproject and everything worked fine. I didn't find out what was exactly wrong with the macports django package, but probably the problem was that I use the Macpython 2.5 binary package and not the py25 package from macports

Re: newbie problem: no django.core.management

2007-10-22 Thread Matthew Wensin
$ sudo updatedb $ locate django Look for: /path/to/django/bin/manage.py /path/to/django/bin/django-admin.py ... That /bin should be on your $PATH. If you feel comfortable with it, I recommend using SVN to check out the latest django development version: /wherever/you/want$ sudo svn co http://

Re: newbie problem: no django.core.management

2007-10-22 Thread Kristinn Örn Sigurðsson
You should try installing Django manually. I did it on my Macbook and it has always worked without any problems. Just get the development version through subversion. On 10/22/07, johannes <[EMAIL PROTECTED]> wrote: > > > Well, which django revealed: > > no django in /opt/local/bin /opt/local/sbin

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
Well, which django revealed: no django in /opt/local/bin /opt/local/sbin /Library/Frameworks/ Python.framework/Versions/Current/bin /bin /sbin /usr/bin /usr/sbin / usr/texbin /usr/local/bin So there is something wrong with my django-macports-installation? In opt/local/bin there's only django-adm

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
> Can you successfully run this: > > [EMAIL PROTECTED] python > > >>> import django > > ? No. That doesn't work either. Well, but how do I figure out what's the right path to /path/to/django/bin? There are so many "djangos" in my opt/local/-directory. (mostly receipts or rsync-stuff from macports

Re: newbie problem: no django.core.management

2007-10-22 Thread Matthew Wensin
Make sure that /path/to/django/bin is in your $PATH and also that django is accessible through your /path/to/python/site-packages directory. Can you successfully run this: [EMAIL PROTECTED] python >>> import django ? Matt On 10/22/07 9:34 AM, "johannes" <[EMAIL PROTECTED]> wrote: > > Ok. A

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
Uhm. Yes I'm logged in as non-admin user. But even when I log in via terminal to my admin-account (su -l ...), the same error occurs. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: newbie problem: no django.core.management

2007-10-22 Thread Kristinn Örn Sigurðsson
Are you in the root of your site? It seems like you're trying to run manage.py from a location where manage.py doesn't exist. On 10/22/07, johannes <[EMAIL PROTECTED]> wrote: > > > Ok. Adding > export PYTHONPATH=$PYTHONPATH:/opt/local/lib/python2.5/sitepackages/ > django/core > to my .profile seem

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
Ok. Adding export PYTHONPATH=$PYTHONPATH:/opt/local/lib/python2.5/sitepackages/ django/core to my .profile seemed to be the remedy. But no I get the error: /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/ Contents/MacOS/Python: can't open file 'manage.py': [Errno 2] No such

Re: newbie problem: no django.core.management

2007-10-22 Thread Kristinn Örn Sigurðsson
It seems right. I didn't install Django through ports on my mac. Try changing your pythonpath to the following:export PYTHONPATH=$PYTHONPATH:/location/to/django On 10/22/07, johannes <[EMAIL PROTECTED]> wrote: > > > Hello Kristinn, > > On 22 Okt., 15:08, "Kristinn Örn Sigurðsson" > <[EMAIL PROTECT

Re: newbie problem: no django.core.management

2007-10-22 Thread johannes
Hello Kristinn, On 22 Okt., 15:08, "Kristinn Örn Sigurðsson" <[EMAIL PROTECTED]> wrote: > Is the path for the python command you just installed through ports before > the path to the build-in python version? > Well, i don't know if I understood your question right. Anyway, here's my .profile: e

Re: newbie problem: no django.core.management

2007-10-22 Thread Kristinn Örn Sigurðsson
Is the path for the python command you just installed through ports before the path to the build-in python version? On 10/22/07, johannes <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm a django-newbie and have problems in setting it up. I'm running a > PPC Mac, so I installed django via macports.

newbie problem: no django.core.management

2007-10-22 Thread johannes
Hello, I'm a django-newbie and have problems in setting it up. I'm running a PPC Mac, so I installed django via macports. Everything seems fine I can create the mysite folder like described in the tutorial but then I get stuck with the following error: python manage.py runserver Traceback (most