码迷,mamicode.com
首页 > 移动开发 > 详细

Command "python setup.py egg_info" failed with error code 1 in C:\Users\w5659\AppData\Local\Temp\pip-install-t7uomu4r\xa dmin\

时间:2018-11-22 02:34:25      阅读:459      评论:0      收藏:0      [点我收藏+]

标签:python   can   ring   pac   ssh   --   sequence   packages   ast   

Error msg:

C:\Users\w5659>pip install xadmin
Collecting xadmin
  Using cached https://files.pythonhosted.org/packages/1d/e9/2ac160c532d0d462142fa90aa86a0e317295e8d86fa4caf84d04f6e24c4
9/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\w5659\AppData\Local\Temp\pip-install-t7uomu4r\xadmin\setup.py", line 11, in <module>
        long_description=open(README.rst).read(),
    UnicodeDecodeError: gbk codec cant decode byte 0xa4 in position 3444: illegal multibyte sequence

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\w5659\AppData\Local\Temp\pip-install-t7uomu4r\xa
dmin\

问题:

  pip install xadmin安装包中有中文出现, 编码错误, 导致安装中断

解决:

  使用github源码安装:

    pip install https://github.com/sshwsfc/xadmin/tarball/master

Command "python setup.py egg_info" failed with error code 1 in C:\Users\w5659\AppData\Local\Temp\pip-install-t7uomu4r\xa dmin\

标签:python   can   ring   pac   ssh   --   sequence   packages   ast   

原文地址:https://www.cnblogs.com/hpcm/p/9998535.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!