H5pyDeprecationWarning 6/7/2025

18 views
Skip to first unread message

Abigail Y. Flores

unread,
Jun 7, 2025, 4:25:24 PMJun 7
to WaveSurfer
Hi everyone,

I noticed this warning while running the python script using wavesurfer. 

C:\localCode\python\PyWaveSurfer_version free\pywavesurfer\ws.py:31: H5pyDeprecationWarning: The default file mode will change to 'r' (read-only) in h5py 3.0. To suppress this warning, pass the mode you need to h5py.File(), or set the global default h5.get_config().default_file_mode, or set the environment variable H5PY_DEFAULT_READONLY=1. Available modes are: 'r', 'r+', 'w', 'w-'/'x', 'a'. See the docs for details.
  file = h5py.File(filename)

I was wondering what I could do to fix this? 
Reply all
Reply to author
Forward
0 new messages