Problem with MPRester in pymatgen 2022.9.21 #3001
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have installed
pymatgen
v. 2022.9.21 on my Linux system and I have the MP API key. However, when I tried to use the MPRester to get data from the Materials Project, it provides several 'AttributeError:'s. For instance for a simple script as below, only them.get_structure_by_material_id
works.For other results, pymatgen gives the 'AttributeError:'s. For example, AttributeError: '_MPResterNew' object has no attribute 'query'.
Can you please suggest the possible reasons for these errors and how to solve them?
Beta Was this translation helpful? Give feedback.
All reactions