Problem with MPRester in pymatgen 2022.9.21 #3001
Replies: 1 comment
|
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have installed
pymatgenv. 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_idworks.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?
All reactions