Error installing goslate API for python on Windows

0

I'm getting this result when I try to install the goslate API, which is a more optimized Google Api to handle translations and more.

C:\Users\chris\Documents\PyCharm Projects\Integrador\goslate-1.5.1>py setup.py install
Traceback (most recent call last):
  File "setup.py", line 8, in <module>
      import goslate as module
  File "C:\Users\chris\Documents\PyCharm Projects\Integrador\goslate-1.5.1\goslate.py", line 33, in <module>
      import concurrent.futures
  File "C:\Users\chris\AppData\Local\Programs\Python\Python35-32\lib\site-packages\futures-3.0.3-py3.5.egg\concurrent\futures\__init__.py", line 8, in <module>
      from concurrent.futures._base import (FIRST_COMPLETED,
  File "C:\Users\chris\AppData\Local\Programs\Python\Python35-32\lib\site-packages\futures-3.0.3-py3.5.egg\concurrent\futures\_base.py", line 355
      raise type(self._exception), self._exception, self._traceback
                                 ^
SyntaxError: invalid syntax

It looks like you're giving a problem in module futures , and I've even downloaded this latest futures lib and installed it quietly, but it did not do any good.

Question

Does anyone know what I can do to solve this problem?

P.S. I'm using python version 3.5.1

    
asked by anonymous 13.01.2016 / 15:43

1 answer

0

As you can see in this issue of the futures repository, futures is a module made for version programs 2.x are compatible with features of version 3.x, then it does not make sense to install the future module for versions 3.x.

So, uninstalling futures should solve your problem.

Another addition is that it may be simpler to use pip to install these packages.

    
13.01.2016 / 16:02