Hi Jules,

The crash might be caused by wrong python dll's in the path, or incorrect 
registry entries for them.

Does simple COM example like this:

import win32com.client
o = win32com.client.Dispatch("Excel.Application")
o.Visible = 1
o.Workbooks.Add()
o.Cells(1,1).Value = "Hello"

work from inside plain python (No XSI) on your affected machine?

Are there other python versions on the same machine?
You could check which python27.dll, pythoncom27.dll and pywintypes27.dll are in 
the path.

Konstantin.

From: [email protected] 
[mailto:[email protected]] On Behalf Of Jules Stevenson
Sent: Monday, November 26, 2012 8:36 PM
To: [email protected]
Subject: External Python not working on some machines

Hey List, we're having some issues where attempting to use external python on 
*some* machines means soft crashes on startup. What's wierd is all machines are 
the same hardware, and the same python install. Python install is 2.7.4, 
pywin32-217.

Anyone got any ideas what could be causing the crash - I'm getting nothing from 
soft as it crashes on startup.

Many thanks,

Jules

<<attachment: winmail.dat>>

Reply via email to