My work PC was recently upgraded from ArcGIS 10.2.2 to 10.4.1. I had the 64 bit geoprocessing package for 10.2.2 but that has not yet been installed for 10.4.1. I have several python scripts that search and iterate through mxd files so I can do things like export them to pdf files without having to open and export every mxd file. The problem is that now python keeps crashing when I run one of these scripts. It doesn't seem to matter if I'm using PyScripter or the default IDE that ArcGIS installs. My script goes through 4-10 mxd files and then crashes.
I have attached a screenshot of the text it gives me when python crashes. Any idea what's causing this?