简体   繁体   English

python pip install poster 给了我错误 --> 命令“python setup.py egg_info”在 C:\\Users\\ 中失败,错误代码为 1

[英]python pip install poster gives me error --> Command "python setup.py egg_info" failed with error code 1 in C:\Users\

I am using Python 3, and am not able to --> pip install poster library我正在使用 Python 3,但无法 --> pip 安装海报库

I am trying to upload a file using poster.我正在尝试使用海报上传文件。 I have tried: pip install poster or easy_install poster they both fail I get an error :我试过: pip install poster 或 easy_install poster 他们都失败了我得到一个错误:

print "send:", repr(value)
                ^
SyntaxError: invalid syntax

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\...

pip install poster  also tried   

easy_install poster .  

I have also tried downloading .tar.gz and I get the same error我也试过下载 .tar.gz 并得到同样的错误

I have also tried : pip install --upgrade setuptools

Based on the first line of code, it seems like poster is only Python 2 compatible.根据第一行代码, poster似乎只兼容 Python 2。 Notice that the latest version of this library was published in 2011 , so Python 3 compatibility was probably not implemented.请注意,该库的最新版本发布于 2011 年,因此可能未实现 Python 3 兼容性。

Try using a different library or switching to Python 2.尝试使用不同的库或切换到 Python 2。

Use poster3 .使用海报3

It is the Python3 version of poster.这是海报的Python3版本。

For Python3 use poster3.对于 Python3,使用poster3。 refer this参考这个

pip install poster3

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python pip安装给出“命令”“ python setup.py egg_info”失败,错误代码为1” - Python pip install gives “Command ”python setup.py egg_info“ failed with error code 1” / tmp / pip-install-_p77_6kw / poster /中的命令“ python setup.py egg_info”失败,错误代码为1 - Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install-_p77_6kw/poster/ pip install askbot错误-命令“ python setup.py egg_info”失败,错误代码为1 - pip install askbot error - Command “python setup.py egg_info” failed with error code 1 Python pip install jira 1.0.10.tar.gz给出“命令” python setup.py egg_info“失败,错误代码为1” - Python pip install jira 1.0.10.tar.gz gives “Command ”python setup.py egg_info“ failed with error code 1” python3 pip安装在pydns软件包中给出“命令” python setup.py egg_info“失败,错误代码为1” - Python3 pip install gives “Command ”python setup.py egg_info“ failed with error code 1” in pydns package pip install iconsdk:命令“ python setup.py egg_info”失败,错误代码为1 - pip install iconsdk: Command “python setup.py egg_info” failed with error code 1 点安装命令“ python setup.py egg_info”失败,错误代码 - Pip install Command “python setup.py egg_info” failed with error code pip安装日志记录:命令“ python setup.py egg_info”失败,错误代码为1 - pip install logging: Command “python setup.py egg_info” failed with error code 1 Visual Studio,Python,命令“ python setup.py egg_info”在C:\\ Users \\…\\ AppData \\ Local \\ Temp \\ pip-install-953alcay \\ rpy2 \\中失败,错误代码为1 - Visual Studio, Python, Command “python setup.py egg_info” failed with error code 1 in C:\Users\…\AppData\Local\Temp\pip-install-953alcay\rpy2\ 返回“命令“ python setup.py egg_info”的Python pip命令失败,错误代码为1” - Python pip command returning 'Command “python setup.py egg_info” failed with error code1'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM