wolfv / pyjet

JET is a different approach to make numeric python substantially faster
Other
67 stars 5 forks source link

python 3.6 #8

Open benman1 opened 6 years ago

benman1 commented 6 years ago

I really liked the idea of this project, however ran into a few issues playing around with it.

I had a few issues making the post-install run:

AttributeError: 'dict' object has no attribute 'iteritems'

I had to invoke 2to3 (-w) to fix the jet/init.py which fixed that.

Then I changed line 7 of bin/jet to say jet_path = os.path.dirname(pkgutil.get_loader("jet").get_filename())

This makes the post-install succeed, however now I am facing other problems. Running the example code from the Readme (Migrating from a NumPy-project):

... --> 229 if len(graph.successors(node)) == 1: 230 successor = graph.successors(node)[0] 231 if successor.op in mergeables:

TypeError: object of type 'generator' has no len()