Thursday, April 25, 2013

Running into Unicode Decode Error when using django-admin.py startproject.

I am brand new to Django and I am having a big problem right off the bat. I cannot use startproject to begin my web app. When I use this command:

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/bin/django-admin.py startproject cms

I get this error:

"UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 37: invalid start byte"

and then it doesn't create the web app. I have not even done any programming and it seems like this is something that is wrong with the Django files, but I am really confused as how their own files would have a character not in the English language that would be making this error. I have been searching online and I have found people with Unicode Decode Errors, but not any during this specific step and I have not been able to find an answer so far. I am running Django on a Mac with Snow Leopard and am using the stable version of Django with Python 2.7. I have been trying to figure this out for a while now and I just keep hitting walls, I would really like to try Django. Thanks for any help!

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

No comments:

Post a Comment