Installing python in Wine without GUI

Questions about Wine on Linux
Locked
stokastic
Newbie
Newbie
Posts: 1
Joined: Mon Aug 25, 2014 1:46 pm

Installing python in Wine without GUI

Post by stokastic »

Hello, I am trying to install python 2.7.8 in wine on ubuntu. Wine is installed and working properly, for example I can use 'wine cmd' to get to the windows command prompt, and navigate directories using cd. I have the .msi installer for python, and I am trying to use msiexec to install it, but it appears to do nothing. Running msiexec with just /i for installation gives these errors:

Code: Select all

fixme:storage:create_storagefile Storage share mode not implemented.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Running msiexec with /qn to disable the gui seems to do nothing, but exits successfully:

Code: Select all

C:\users\me\My Documents\python27>msiexec /i /qn python-2.7.8.msi

C:\users\me\My Documents\python27>
I'd really like to avoid having to install X on the server, as it's not really my server to do so with, but I can put in a request to the admin if it is critical for proper operation.

Once python is working, I will also need to install the wxPython GUI library and PyInstaller, as I am trying to compile a python application into a windows executable. All this works on windows, but I am trying to set it up on linux with an automated build system if possible.

Thanks
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: Installing python in Wine without GUI

Post by oiaohm »

stokastic Xvfb is used a lot with wine and server side. http://en.wikipedia.org/wiki/Xvfb Yes able to run test cases with.

stokastic its one thing to build the binary but there is no point shipping the binary if it fails testing. GUI application fairly much mandates having xvfb or equal anyhow.

http://ldtp.freedesktop.org and https://fedorahosted.org/dogtail/the accessibility layer based automated tools.
www.sikuli.org and http://xpresser.com both image based.

Basically not have a X11 server in some form like xvfb instead of a screen connected one I see as cutting own options off.
Locked