loklak/loklak_python_api

Python3 doesn't supported

YJDave opened this issue · 0 comments

I try to install pip package in python3 venv using pip install python-loklak-api and I got following error.

Collecting python-loklak-api
  Downloading python-loklak-api-1.7.tar.gz
Collecting asyncoro==3.5 (from python-loklak-api)
  Downloading asyncoro-3.5.tar.gz (284kB)
    100% |████████████████████████████████| 286kB 300kB/s 
Collecting requests==2.8.1 (from python-loklak-api)
  Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
    100% |████████████████████████████████| 501kB 258kB/s 
Collecting wsgiref==0.1.2 (from python-loklak-api)
  Downloading wsgiref-0.1.2.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-emi_kzno/wsgiref/setup.py", line 5, in <module>
        import ez_setup
      File "/tmp/pip-build-emi_kzno/wsgiref/ez_setup/__init__.py", line 170
        print "Setuptools version",version,"or greater has been installed."
                                 ^
    SyntaxError: Missing parentheses in call to 'print'

It seems like there are two error,

  1. Missing parentheses in warning message
  2. Dependencies are older which isn't supported in python3

I try with installing python2 and it worked.