Hello all.
I need help installing django.
I'm a newbie with Django and Linux I want to experiment and create a
website using Django.
Here is my brief story installing Django. Last week I was able to
installed it without problems from the subversion website, but I had
some problems with Ubuntu and re-installed ubuntu in a formatted hard
drive. Also I had to re-installed DJango yesterday. The first time I
installed in the Python2.4 path. The second time I decide to installed
in /python2.4/site-packages/ as the instructions said.
In both cases I had to run setup.py, because I could no import django.
But now I had problems with 'django-admin.py'. Yesterday, I spent about
5 hours trying to make it work and I failed.
Here is what I get when I tried to run django-admin.py:
[EMAIL PROTECTED]:~$ python
Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02) [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import django
django.VERSION
(0, 96, 'pre')
django-admin.py startproject mysite
 File "<stdin>", line 1
   django-admin.py startproject mysite
                              ^
SyntaxError: invalid syntax


I also searched in my paths and found that this file exist in different
directories.
Question: In which directories the file django-admin.py should resided?
which files should I delete?
Here are the paths where this file is in my system.
/site-packages/django/bin/
/site-packages/trunk/build/lib/django/bin/
/site-packages/trunk/build/scripts-2.4/
/site-packages/trunk/django/bin/

Please help I'm stuck learning to sing with Django.
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to