Answer the question
In order to leave comments, you need to log in
I can't create a project in Django, what should I do?
I installed django version 3 but when I create a project I only get a folder and I get
this error:
Traceback (most recent call last):
File "/usr/local/bin/django-admin", line 11, in
sys.exit(execute_from_command_line ())
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/local/lib/ python2.7/dist-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/ dist-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/usr /local/lib/python2.7/dist-packages/django/core/management/commands/startproject.py", line 34, in handle
super(Command, self).handle('project', project_name, target, ** options)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/templates.py", line 162, in handle
if new_path.endswith(extensions) or filename in extra_files:
UnicodeDecodeError: ' ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question