Hi, I’m trying to query the stable phases of Li-Fe-P-O system with the following script that implements new MP APIs
from mp_api.client import MPRester
mpr=MPRester("XXXXXX")
oen=mpr.get_entries(chemsys_formula_mpids='Li-Fe-P-O',additional_criteria={"is_stable": True})
However, it comes up with the following errors:
ImportError: cannot import name ‘unicode2str’ from ‘monty.string’ (/home/jin/bin/anaconda3/envs/newpmg/lib/python3.9/site-packages/monty/string.py)
The versions of MP-API and monty are 0.39.3 and 2023.11.3, respectively.