Mp_api.client doesnt work

Hi! I am trying to use pymatgen to extract some properties for materials project, but i keep encountering with the next error:
cannot import name ‘_load_pmg_settings’ from ‘pymatgen.core’ (/home/nforero/.local/lib/python3.8/site-packages/pymatgen/core/init.py)

Can you help me with this problem please?
Thanks!

Try upgrading to at least python 3.9 and make sure you’re running the latest versions of pymatgen and mp-api.

Thanks a lot! Indeed that was the problem. For future users if you encounter with the same problem i recommend set a new environment and install all you need in that environment. Thank you very much @tschaume