Image-Py / sknw

build net work from skeleton image (2D-3D)
BSD 3-Clause "New" or "Revised" License
224 stars 48 forks source link

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

Open ntelo007 opened 4 years ago

ntelo007 commented 4 years ago

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

yxdragon commented 4 years ago

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

ntelo007 commented 4 years ago

Which numba version should I use?

yxdragon commented 4 years ago

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