sknw icon indicating copy to clipboard operation
sknw copied to clipboard

SystemError: <built-in function len> returned a result with an error set

Open ntelo007 opened this issue 5 years ago • 3 comments

Hi,

I am trying to run your demo ("Build graph") and I get the following error:

_pickle.UnpicklingError: invalid load key, 'O'.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "C:/Users/.../sknw/demo.py", line 11, in graph = sknw.build_sknw(ske) File "C:\Users...\sknw-master\sknw\sknw.py", line 118, in build_sknw mark(buf) File "C:\Users...\sknw-master\sknw\sknw.py", line 7, in neighbors dim = len(shape) SystemError: returned a result with an error set

I am using Windows 10, and I have installed the following packages in a venv: image

ntelo007 avatar Nov 22 '19 10:11 ntelo007

It seems that numba has upgrade much, So I will review my code soon!

yxdragon avatar Dec 08 '19 08:12 yxdragon

Which numba version should I use?

ntelo007 avatar Dec 12 '19 14:12 ntelo007

@ntelo007 now sknw can work with the new version numba, have a try!

yxdragon avatar Dec 13 '19 04:12 yxdragon