Image python installation seems not to include _compat_pickle.py?

Not much else other than the title. I made a docker image, however running bitbake <name> fails because the python modules in opt/imgname/2.2.2/sysroots/x86_64-polysdk-linux/usr/lib/python3.5/ don’t contain _compat_pickle.py.

I’d use wget to grab it off the website, except for the fact that I don’t know the root password for the account in the image. Running sudo docker run -t imgname to try and enter as the root user doesn’t seem to do anything either, so I can’t fix any missing packages?

Does anyone know how I could resolve this issue?

NOTE: Apologies for being light on details here. I’ve been thrust into docker a bit, so I’m still feeling my way around. If you would like any more info, I’d be happy to give it to you