我正在使用Python 3,并且无法-> pip安装海报库
我正在尝试使用海报上传文件。我尝试过: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 .
我也尝试下载.tar.gz,但遇到相同的错误
I have also tried : pip install --upgrade setuptools
基于第一行代码,似乎poster
仅与Python 2兼容。请注意,该库的最新版本于2011年发布,因此可能未实现Python 3兼容性。
尝试使用其他库或切换到Python 2。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句