Skip to content Skip to sidebar Skip to footer

Pythran Export Dict With Tuples As Key

I try to use Pythran in a function that needs an int array and for the second arg a dict with tuples of ints as keys and an int as value: myarray = np.array([[0, 0], [0, 1], [1, 1]

Solution 1:

From your backtrace, it seems you're importing sys. In that kind of situation, pythran tries to get the source of the import module to compile it. As sys is a built-in module, it fails.


Post a Comment for "Pythran Export Dict With Tuples As Key"