what3words / w3w-python-wrapper

Python wrapper for the what3words API
https://docs.what3words.com/api/v3/
MIT License
79 stars 14 forks source link

pip3 install fails #9

Closed tsamaya closed 7 years ago

tsamaya commented 7 years ago
# pip --version
pip 9.0.1 from /usr/local/lib/python3.6/site-packages (python 3.6)
# pip install what3words
Collecting what3words
  Downloading what3words-2.2.0.tar.gz
Collecting unirest (from what3words)
  Downloading Unirest-1.1.7.tar.gz
Collecting poster>=0.8.1 (from unirest->what3words)
  Downloading poster-0.8.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-psm91kt_/poster/setup.py", line 2, in <module>
        import poster
      File "/tmp/pip-build-psm91kt_/poster/poster/__init__.py", line 29, in <module>
        import poster.streaminghttp
      File "/tmp/pip-build-psm91kt_/poster/poster/streaminghttp.py", line 61
        print "send:", repr(value)
                    ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-psm91kt_/poster/
joedborg commented 7 years ago

This is odd, the setup seems to try to install poster even though it's not when installing via the requirements.txt.

joedborg commented 7 years ago

https://github.com/what3words/w3w-python-wrapper/pull/10

toniengelhardt commented 7 years ago

I had the issue with poster too, it seems to be not compatible with Python 3.

tsamaya commented 7 years ago

Thank you all. PR #10 merged and version 2.2.1 created and published