Re: Difficulties Beginning

30 views
Skip to first unread message
Message has been deleted

Apokalyptica Painkiller

unread,
Jul 10, 2012, 10:36:32 PM7/10/12
to django...@googlegroups.com
Hello, i'm not sure but may be your mistake is the name of the project.

i mean, you type this: django-admin.py startproject pasta face

The space between pasta and face, it's wrong, i guess it should be: django-admin.py startproject pasta_face

And the SyntaxError i think it is: except ImportError without the , (coma) and e.

Good luck

2012/7/10 James Smith <jell...@gmail.com>
Hey there,

I've recently taken up learning Django, but I've run into an issue I can't seem to resolve.

Some information:
Windows 64-bit
Django 1.4
Python 3.2

And this is the tutorial I'm following:


When I try to start a new project, I get this:


So, it's a syntax error. I found that the startproject feature was changed in Django 1.4, from what I read it sounded like what I typed should still work.
For the record, I also tried including a path, and that failed, too.

If you have any insights into what might be causing this error, do let me know. I hope it's not something super simple that I'm just overlooking!

Thanks,

James

--
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/-/FWJ4IYNQ5cQJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
I live each day 
Like it's my last 
I live for rock and roll 
I never look back 

I'm a rocker 
Do as I feel as I say 
I'm a rocker
And no one can take that away 


James Smith

unread,
Jul 10, 2012, 10:48:47 PM7/10/12
to django...@googlegroups.com
Thanks for the quick reply! I realized I posted a poor screenshot where the name of the project had a space in it. I was being a bit silly there, to be honest...that was after many failed attempts.

I've tried without spacing, and I got the same thing. I've tried all sorts of things, really...here are a bunch of my attempts, with accompanying code and screenshots. They all give the same error.

1. Regular creation from any directory
C:\users\jmeas\webdesign> django-admin.py startproject firstone

2. Moving to the directory with django-admin.py file and running it there.

3. Typing the whole name of the file to run it (independently of #2 and combined with #2, as below)

3. adding the file to the Paths

I've noticed I have django-admin.py in both C:\python32\Scripts and the longer URL in some of those screenshots. This doesn't seem to be affecting their functionality, though. I've tried them both, and I think it's the same error.

Apokalyptica Painkiller

unread,
Jul 10, 2012, 10:52:39 PM7/10/12
to django...@googlegroups.com
May be it's python's version,why don't you try python 2.7 

2012/7/10 James Smith <jell...@gmail.com>

--
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/-/W8PKzTiqriMJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Message has been deleted

James Smith

unread,
Jul 10, 2012, 11:13:02 PM7/10/12
to django...@googlegroups.com
Thanks, Dennis. That sure seems like a probable source for this error :)

James Smith

unread,
Jul 11, 2012, 12:46:11 AM7/11/12
to django...@googlegroups.com
And Dennis was right! That fixed my problem. Thanks again.

You too, Apokalyptica, for taking the time to try to figure this out.
Reply all
Reply to author
Forward
0 new messages