pythonposter

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

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 :

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

I have also tried : pip install --upgrade setuptools

Solution

  • Based on the first line of code, it seems like poster is only Python 2 compatible. Notice that the latest version of this library was published in 2011, so Python 3 compatibility was probably not implemented.

    Try using a different library or switching to Python 2.