pymatgen icon indicating copy to clipboard operation
pymatgen copied to clipboard

SlotPickleMixin removed in the latest version

Open rashidrafeek opened this issue 3 years ago • 0 comments

With the latest version 2022.9.21, the following:

from pymatgen.util.serialization import SlotPickleMixin

leads to the error ImportError: cannot import name 'SlotPickleMixin' from 'pymatgen.util.serialization'. I obtained this while I was trying to use USPEX. Reverting to a previous version using pip install pymatgen==2022.9.8 fixed the issue.

I'm not sure if this is considered breaking. This was removed in #2649.

rashidrafeek avatar Sep 28 '22 06:09 rashidrafeek