Fix python problems with versioned packages and fix configuration issues.