首先需要安装 xadmin : pip install xadmin
结果出现了一下错误
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\lixin\AppData\Local\Temp\pip-build-z8cuvfwi\xadmin\setup.py", line 11, in <module>
long_description=open('README.rst').read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 3444: illegal multibyte sequence
错误信息说明是README.rst的编码问题,将其文件清空即可。