Python3 support?
See original GitHub issueIn Python3.4, I run $ pip install unirest I get the following error: Downloading/unpacking unirest Downloading Unirest-1.1.6.tar.gz Running setup.py (path:C:\Users\David\AppData\Local\Temp\pip_build_David\unirest\setup.py) egg_info for package unirest
warning: no files found matching '*.txt' under directory 'docs'
Downloading/unpacking poster>=0.8.1 (from unirest) Downloading poster-0.8.1.tar.gz Running setup.py (path:C:\Users\David\AppData\Local\Temp\pip_build_David\poster\setup.py) egg_info for package poster Traceback (most recent call last): File “<string>”, line 17, in <module> File “C:\Users\David\AppData\Local\Temp\pip_build_David\poster\setup.py”, line 2, in <module> import poster File “C:\Users\David\AppData\Local\Temp\pip_build_David\poster\poster__init__.py”, line 29, in <module> import poster.streaminghttp File “C:\Users\David\AppData\Local\Temp\pip_build_David\poster\poster\streaminghttp.py”, line 61 print “send:”, repr(value) ^ SyntaxError: invalid syntax Complete output from command python setup.py egg_info: Traceback (most recent call last):
File “<string>”, line 17, in <module>
File “C:\Users\David\AppData\Local\Temp\pip_build_David\poster\setup.py”, line 2, in <module>
import poster
File “C:\Users\David\AppData\Local\Temp\pip_build_David\poster\poster__init__.py”, line 29, in <module>
import poster.streaminghttp
File “C:\Users\David\AppData\Local\Temp\pip_build_David\poster\poster\streaminghttp.py”, line 61
print "send:", repr(value)
^
SyntaxError: invalid syntax
PS: I’m running Windows 8.1, although this looks like a problem in python2 vs python3 syntax.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:3
- Comments:12
Still not working as of today:
Sorry to bump this. In case anyone needs it I have made a fork compatible with Python 3 at https://github.com/tirkarthi/unirest-python . You can use it as a git based dependency. It doesn’t work for gzip based files for now.
There is an incompatible dependency poster. You can find a Python 3 fork of the same at https://github.com/tirkarthi/python-poster.