First time here? Check out the FAQ!
answered 2017-04-18 01:52:45 -0600
it's not really python related.
your image was not fully downloaded (e.g. from an ipcam or from a website)
jpg images start and end with "magic bytes", if it did not end with FF D9, they know, some bytes are missing.