Scripting functionality will only be available if your version of Scribus was built to include it. Some binary packages (rpms, debs etc) don't include it and scripting functionality will therefore be unavailable.