These issues appear to be only with the "embedded" distribution of Python, which is not really designed for this type of use. I suspect that the issue lies in the fact that the standard library (and hence site-packages?) is in a zipfile. Install