spikeinterface icon indicating copy to clipboard operation
spikeinterface copied to clipboard

Unable to run the demo python source code in the gettin start tutorial

Open YangWenfei-philip opened this issue 3 years ago • 3 comments

When i try to run the code, exception occurred. I tried to resolve the issue by downgrading the numpy version to 1.21.5, but the problem persisted.

Exception has occurred: ValueError numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject File "/Users/wenfeiyang/Downloads/plot_getting_started.py", line 129, in print('Installed sorters', ss.installed_sorters())

YangWenfei-philip avatar Jul 15 '22 17:07 YangWenfei-philip

Hi @YangWenfei-philip

Can you try to pip uninstall herdingspikes and then reinstall it: pip install herdingspikes?

alejoe91 avatar Jul 19 '22 08:07 alejoe91

I managed to resolved this issue, but when I run the data I encountered the following issue:

UserWarning: resource_tracker: There appear to be 9 leaked semaphore objects to clean up at shutdown

My computer has 16 Gb of RAM, and I managed to free up 12 Gb for this task and this still appear. Is there any solution?

YangWenfei-philip avatar Aug 12 '22 02:08 YangWenfei-philip

Hi,

This is a warning, so don't worry about it ;)

Can you tell us when this happens? What is the code that is triggering it?

Cheers Alessio

alejoe91 avatar Aug 12 '22 07:08 alejoe91