I understand that the Python interpreter of FreeCAD does not come with pywin32 installed. Still it would be great if I could somehow use the COM-interface to enslave some other programs
This issue has already been discussed some years ago: https://forum.freecadweb.org/viewtopic. ... =4&t=21810
Installation via pip apparently works, but the libraries are broken and cannot be imported (An application has made an attempt to load the C runtime library incorrectly):
Code: Select all
from pip.commands.install import InstallCommand from pip.status_codes import SUCCESS cmd = InstallCommand() result = cmd.main(['pywin32']) if result != SUCCESS: print 'failed' else: print 'success'