ImportError: cannot import name 'get_last_checkpoint'
from transformers.trainer_utils import get_last_checkpoint, is_main_process
ImportError: cannot import name 'get_last_checkpoint'
HI there,

what's your transformers version ? `get_last_checkpoint` is available on master, so you should install from source to use it<|||||>hi @yuxuan2015 , the latest stable release of transformers (4.2.2) has no 'get_last_checkpoint' function, so if you installed via package manager you won't be able to use that function. like patil said, you need to install from source<|||||>I solved this error after reinstalling transformers from pip. The version of transformers I installed is 4.3.3<|||||>As mentioned in the `examples/readme.md` [here](https://github.com/huggingface/transformers/tree/master/examples#important-note), to run the examples, always install from source.

Closing this issue.