[SOLVED] Cannot install Python on wine

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Dec 7 02:01:47 CST 2010


On 2010-12-06 18:49-0800 Dan Kegel wrote:

> Does
>  winetricks python26
> work for you?

The answer to your question (for wine-1.3.8, at least) is yes it does,
and that lead to a complete solution!  I am CCing to the list as well
because others will be interested in that solution to my original
question.

The command above essentially
downloads python-2.6.2.msi then executes

wine msiexec /i python-2.6.2.msi ALLUSERS=1

which worked and is very similar to what I tried independently
with python-2.7.1, i.e.,

wine msiexec /i python-2.7.1.amd64.msi

which returned with no GUI and error message at all.

I then realized from that name this was likely a 64-bit issue. I then downloaded the
32-bit MSI version, (from http://www.python.org/download/releases/2.7.1/)
After that download

wine msiexec /i python-2.7.1.msi

worked like a charm!  (I don't understand the significance of
ALLUSERS=1 so I left it off.)

So problem solved for python-2.7.1.  Thanks for your helpful
winetricks suggestion which gave me an excellent start on the road
to finding the solution for the latest python2.

One issue is you will likely want to incorporate the latest version of
python2 in winetricks as well as python3 from
http://www.python.org/download/releases/3.1.3/.

The remaining issue is the complete lack of any error messages when
executing the 64-bit MSI file.  Shall I file a msiexec bug report
about that?

There is also no mention of 64-bit versus 32-bit MSI files at
http://wiki.jswindle.com/index.php/Wine_MSI.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________



More information about the wine-devel mailing list