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