正在学习ython编程 从入门到实践 第18章Django入门,使用Win10的cmd。
创建了虚拟环境后运行python manage.py runserver报错UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xd5 in position 0: invalid continuation byte
(ll_env) C:\Users\Administrator\Desktop\pythonwork\mywork\s18\learning_log>python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
May 03, 2021 - 21:49:48
Django version 3.2, using settings 'learning_log.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Exception in thread django-main-thread:
Traceback (most recent call last):
File "D:\python35\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "D:\python35\lib\threading.py", line 870, in run
self._target(