Image-Py/sknw

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

ntelo007 opened this issue · 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

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

Which numba version should I use?

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