Hi Andreas,

So, I think ​the problem is with the pytools' wheel.

using "pip install --no-use-wheel pytools" everything works just fine.

however, here is what happened when I used just "pip install pytools":

-------------------------------------------
Downloading/unpacking pytools
  Downloading pytools-2014.2.1-py2.py3-none-any.whl (51kB): 51kB downloaded
Requirement already satisfied (use --upgrade to upgrade): decorator>=3.2.0
in ./Modelos/python/conda/miniconda/envs/py33/lib/python3.3/site-packages
(from pytools)
Installing collected packages: pytools
*** Error compiling
'/tmp/pip_build_guilherme/pytools/pytools/__init__.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/__init__.py", line 1313
    print value, bin_nr, bin_starts
              ^
SyntaxError: invalid syntax

*** Error compiling
'/tmp/pip_build_guilherme/pytools/pytools/arithmetic_container.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/arithmetic_container.py",
line 271
    raise ValueError, "matrix width does not match ArithmeticList"
                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_guilherme/pytools/pytools/debug.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/debug.py", line 18
    os.O_CREAT | os.O_WRONLY | os.O_EXCL, 0444), "w")
                                             ^
SyntaxError: invalid token

*** Error compiling
'/tmp/pip_build_guilherme/pytools/pytools/diskdict.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/diskdict.py", line 23
    except OSError, e:
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_guilherme/pytools/pytools/lex.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/lex.py", line 51
    print "Trying", rule, "on", s[start:]
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_guilherme/pytools/pytools/log.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/log.py", line 557
    print "while adding datapoint for '%s':" % name
                                           ^
SyntaxError: invalid syntax

*** Error compiling
'/tmp/pip_build_guilherme/pytools/pytools/persistent_dict.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/persistent_dict.py", line
258
    except OSError, e:
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_guilherme/pytools/pytools/prefork.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/prefork.py", line 25
    except OSError, e:
                  ^
SyntaxError: invalid syntax

*** Error compiling
'/tmp/pip_build_guilherme/pytools/pytools/spatial_btree.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/spatial_btree.py", line 4
    def do_boxes_intersect((bl1,tr1), (bl2,tr2)):
                           ^
SyntaxError: invalid syntax

*** Error compiling
'/tmp/pip_build_guilherme/pytools/pytools/stopwatch.py'...
  File "/tmp/pip_build_guilherme/pytools/pytools/stopwatch.py", line 36
    print "%s..." % name
                ^
SyntaxError: invalid syntax

Successfully installed pytools
Cleaning up...
-------------------------------------------
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to