Install python pywin32 in WINE?


I'm trying to install python under WINE in order to run and communicate with a windows application that uses COM.

I've tried the following but neither seems to work:

[root@localhost ForCentOS]# wine msiexec /i python-2.7.2.msi
fixme:msi:MSI_OpenDatabaseW open failed r = 80030050 for L"C:\\windows\\temp\\msifc.tmp"
[root@localhost ForCentOS]#

[root@localhost ForCentOS]# wine start python-2.7.2.msi
fixme:exec:SHELL_execute flags ignored: 0x00000500
--> this hangs and does not return...
asked on Super User Aug 26, 2011 by monkut

1 Answer


This worked for me tested in Debian 8.

Wine installation

apt-get install wine
dpkg --add-architecture i386 && apt-get update && apt-get install wine32

Python2.7 Installation

Download the latest Python from your fav source and install it using:

wine msiexec /i ~/src/python-2.7.10.msi

win32com for Python

Download from and install it using:

wine ~/src/pywin32-219.win32-py2.7.exe 
answered on Super User Jun 5, 2015 by zom-pro

User contributions licensed under CC BY-SA 3.0