错误代码:
Traceback (most recent call last):
File "C:/Users/grayzlp/PycharmProjects/TestDjango01/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\core\management\__init__.py", line 362, in execute_from_command_line
utility.execute()
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\core\management\__init__.py", line 354, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\core\management\base.py", line 297, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\core\management\commands\runserver.py", line 50, in execute
super(Command, self).execute(*args, **options)
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\core\management\base.py", line 348, in execute
output = self.handle(*args, **options)
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\core\management\commands\runserver.py", line 89, in handle
self.run(**options)
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\core\management\commands\runserver.py", line 98, in run
autoreload.main(self.inner_run, None, options)
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\utils\autoreload.py", line 334, in main
reloader(wrapped_main_func, args, kwargs)
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\utils\autoreload.py", line 305, in python_reloader
exit_code = restart_with_reloader()
File "C:\Python34\lib\site-packages\django-1.10-py3.4.egg\django\utils\autoreload.py", line 291, in restart_with_reloader
exit_code = os.spawnve(os.P_WAIT, sys.executable, args, new_environ)
UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: invalid character
系统是win8.1
新建的一个空项目报的错误,希望有人能帮忙解决
因为你的计算机名称设置了中文字符