Skip to content

How to “get started” functions incompatible with Python 3.13 #4088

@Jai477

Description

@Jai477

Hello, I am new to SpikeInterface and I am attempting to test it for my lab's extracellular ephys data. I'm going through the installation and requirements to test the sample data and I'm running into issues trying to open the data to start the analysis process. I will also note I am new the Python so I am learning as I go and I apologize if this has been addressed elsewhere in the Git Hub.

MEArec is conflicting with the numpy version because of elephant 1.1.1. I saw in another issue thread this was addressed, but I'm assuming that was for users who are actively working with their own data in SpikeInterface and would not be specific for the "How to get started" tutorial. #3683

It seems like python began to run the MEArec module but then another error came up. The python package for that is not compatible with 3.13 it seems. And on the MEArec website it says distutils has been replaced with packaging, as well as this issue thread NeuralEnsemble/python-neo#1135.

I was just wondering if there is any plans to update the how to get started process or if there is another doc I can use to run through set-up procedures? I want to make sure I know the basics before I attempt any complex steps. Thanks for any help that can be offered!

Traceback (most recent call last):
  File "<python-input-9>", line 1, in <module>
    import MEArec as mr
  File "C:\Users\jaime\AppData\Local\Programs\Python\Python313\Lib\site-packages\MEArec\__init__.py", line 5, in <module>
    from MEArec.generation_tools import (gen_recordings, gen_spiketrains,
                                         gen_templates)
  File "C:\Users\jaime\AppData\Local\Programs\Python\Python313\Lib\site-packages\MEArec\generation_tools.py", line 10, in <module>
    from .generators import (RecordingGenerator, SpikeTrainGenerator,
                             TemplateGenerator)
  File "C:\Users\jaime\AppData\Local\Programs\Python\Python313\Lib\site-packages\MEArec\generators\__init__.py", line 1, in <module>
    from .recordinggenerator import RecordingGenerator
  File "C:\Users\jaime\AppData\Local\Programs\Python\Python313\Lib\site-packages\MEArec\generators\recordinggenerator.py", line 10, in <module>
    from distutils.log import DEBUG
ModuleNotFoundError: No module named 'distutils'```

Metadata

Metadata

Assignees

No one assigned

    Labels

    packagingRelated to packaging/stylequestionGeneral question regarding SI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions