~/cirq/py39-venv/lib/python3.9/site-packages/pyscf/lib/misc.py in <module>
44 'Async-IO is disabled.\n' % ((h5py.version.version,)*2))
45 if h5py.version.version[:2] == '3.':
---> 46 h5py.get_config().default_file_mode = 'a'
47
48 c_double_p = ctypes.POINTER(ctypes.c_double)
h5py/h5.pyx in h5py.h5.H5PYConfig.default_file_mode.__set__()
ValueError: Using default_file_mode other than 'r' is no longer supported. Pass the mode to h5py.File() instead.