cortex-lab / phy

phy: interactive visualization and manual spike sorting of large-scale ephys data
BSD 3-Clause "New" or "Revised" License
307 stars 156 forks source link

phy installation error h5py #1185

Closed sternlas closed 1 month ago

sternlas commented 1 year ago

Hello. I am trying to install phy on windows. I am trying to add in all of the packages for python I get errors for:

pip install h5py

I am using latest python and updated pip I tried installing HDF5 from their website and added it to windows path the error occurs at this stage:

Building wheel for h5py (pyproject.toml) ... error .... fatal error C1083: Cannot open include file: 'hdf5.h': No such file or directory ERROR: Failed building wheel for h5py Failed to build h5py ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects

however, hdf5.h is there and windows can find it using the where command. Any suggestions on things to try?

zm711 commented 1 month ago

I'm going to close this since there have updates to the python packaging landscape and currently Phy should have no problem being installed on linux or windows.