Build_ri_space method

I have tried to use the build_ri_space method in my Python code by:

ribs = psi4.core.OrbitalSpace.build_ri_space(molecule, ‘BASIS’, ‘DF_BASIS_MP2’, lindep)

However, I am getting the error message in return:
Fatal Error: build_ri_space has not been updated to the new python based basis set construction scheme

I also picked up the following basis sets in my script:
psi4.set_options({‘basis’: ‘cc-pvdz’,
‘scf_type’: ‘pk’,
‘df_basis_mp2’: ‘cc-pvdz-ri’})

Is there any way to circumnavigate this problem?