spikeinterface icon indicating copy to clipboard operation
spikeinterface copied to clipboard

Jupyter Notebook imports hanging

Open TheAnton205 opened this issue 10 months ago • 3 comments

Hello, I had spikeinterface fully up and working before and decided to upgrade it to version 0.101.0 for new functionality. However, things went downhill and am looking for help. Here is the steps of what happened:

  1. Upgraded to 0.101.0 from 0.99.1 i. Running command "read_openephys" gave error SYNC channel is not present in the recording. Set load_sync_channel to False despite not needing it before. I did what it said, inputtng the argument load_sync_channel to False and got the exact same error message.
  2. Realized it was the version messing it up, downgraded back to 0.99.1 i. Same issue with SYNC Channel occurred
  3. Pip uninstalled every spikeinterface and reinstalled through anaconda terminal (which runs the notebook), it installed version 0.100.5 i. New issue occurs, cannot even import what I need. When running import spikeinteface.widgets as sw, the import just hangs. Additionally, I had import spikeinterface.full as si, which also hung but I changed to spikeinterface.core. Below are all of my imports to which everything but the two I just mentioned working fine
  4. Decided to downgrade to 0.99.0, which is what it is currently running on in case I wrote down the wrong version number. i. I get the same issue as step 3.
import spikeinterface.core as si #Originally spikeinterface.full, changed to get rid of it getting stuck
import pywidgets
import ipympl
import spikeinterface
import spikeinterface.sorters as ss
from spikeinterface.sorters import run_sorter
import spikeinterface.widgets as sw #<------------------------------ import begins to hang and cell never reaches end.
import spikeinterface.extractors as se
from spikeinterface.preprocessing import common_reference
#from spikeinterface import create_sorting_analyzer
import binascii

import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np #version == 1.20

Thanks!

TheAnton205 avatar Apr 10 '24 20:04 TheAnton205