pip install xadmin报错

来源:5-2 xadmin的安装

szuxxy

2019-04-04

(graduationproject) C:\Users\anmut>pip install xadmin
Collecting xadmin
  Using cached https://files.pythonhosted.org/packages/1d/e9/2ac160c532d0d462142fa90aa86a0e317295e8d86fa4caf84d04f6e24c49/xadmin-0.6.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\anmut\AppData\Local\Temp\pip-install-99ng5l0m\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

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\anmut\AppData\Local\Temp\pip-install-99ng5l0m\xadmin\
写回答

1回答

Ethreal

2019-04-04

往后看 依赖包安好就行了 是什么版本的django 去源码分支里面下载拷贝就好了 pip install 按的用不到

0
2
bobby
回复
szuxxy
好的,不过最好拷贝我给的源码的对应分支下的xadmin的源码,官方的可能会一些bug未修复
2019-04-07
共2条回复

Python3.6+django+xadmin,打造在线教育平台

【毕设】Python 2.7到3.6 完美适配,Django升级2.0

3677 学习 · 4038 问题

查看课程