Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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...
share|improve this question
Wouldn't python for linux work for you? – Caltor Oct 24 '12 at 10:19
There're certain cases when you need this. For example, if you need to run win32com under Linux. – zom-pro May 20 '15 at 10:43

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 
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .