Command "python setup.py egg_info" failed with error code 1 in C:Usersw5659AppDataLoca(示例代
Posted HPCM
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Command "python setup.py egg_info" failed with error code 1 in C:Usersw5659AppDataLoca(示例代相关的知识,希望对你有一定的参考价值。
Error msg:
C:Usersw5659>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:Usersw5659AppDataLocalTemppip-install-t7uomu4rxadminsetup.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:Usersw5659AppDataLocalTemppip-install-t7uomu4rxa 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:Usersw5659AppDataLoca(示例代的主要内容,如果未能解决你的问题,请参考以下文章
解决 Command "python setup.py egg_info" failed with error code 1 问题
Command "python setup.py egg_info" failed with error code 1一种问题的解决方法
解决安装ipython时Command "python setup.py egg_info" failed with error code 1 in /tmp
Error:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-not69m
Command "python setup.py egg_info" failed with error code 1 in C:Usersw5659AppDataLoca(示例代
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qvc66dfs/sup