Open
Description
When either the Python version or Beam version disagree, errors are often quite obscure (e.g. a deep pickling error). We should instead give a clear message to the user.
Imported from Jira BEAM-13495. Original Jira may contain additional context.
Reported by: robertwb.