flatironinstitute / ironclust

Spike sorting software being developed at Flatiron Institute, based on JRCLUST (Janelia Rocket Cluster)
Apache License 2.0
28 stars 7 forks source link

Python commands require a supported version of CPython #62

Closed hpay closed 1 year ago

hpay commented 1 year ago

Hi, I'm trying to get started and when I type "irc2 compile" or even "irc2 version" in MATLAB I get the following error: Python commands require a supported version of CPython. See Getting Started with Python.

I'm confused because neither the Readme nor ironclust/matlab/install.txt says anything about Python.

I'm on Matlab 2021a, gpuDevice.ToolkitVersion = 11 and ComputeCapability = 5.2, Microsoft Visual Studio Community 2013, and Kilosort2.0 works with this set up so I know CUDA is installed properly. My system PATH includes

C:\WINDOWS\system32
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin

Thanks in advance

hpay commented 1 year ago

I set up a python environment in Matlab (usingpyenv('Version','C:\path\to\python.exe')) and now irc2 installworks. Not hard to solve, but the dependency on python should probably be mentioned somewhere (apologies if I missed it)