unable to run python pip.exe

Questions about Wine on Linux
Locked
smallming
Newbie
Newbie
Posts: 2
Joined: Fri May 16, 2014 9:06 am

unable to run python pip.exe

Post by smallming »

I ran the following to install python and pip successfully, but could not get pip.exe to execute.

Code: Select all

$ wine start python-2.7.6.msi
$ wine python.exe get-pip.py
$ wine pip.exe
fixme:ntdll:NtCreateJobObject stub: 0x32f96c 1f001f <null>
fixme:ntdll:NtQueryInformationJobObject stub: 0xdead 9 0x32fc80 112 0x32fc24
Fatal error in launcher: Job information querying failed
Using wine-1.6.2, installed via apt-get on Ubuntu 14.04 64-bit. Any suggestions to get pip.exe running?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: unable to run python pip.exe

Post by dimesio »

If you really want to run the Windows version in Wine even though there is a native version, try 1.7.19.
smallming
Newbie
Newbie
Posts: 2
Joined: Fri May 16, 2014 9:06 am

Re: unable to run python pip.exe

Post by smallming »

Trying to install python packages so that another app in the same wineprefix can import it.

Thanks for the suggestions.
ObersterHirte
Newbie
Newbie
Posts: 1
Joined: Mon Aug 04, 2014 6:16 pm

Re: unable to run python pip.exe

Post by ObersterHirte »

I ran into the same problem just now. Sadly the upgrade to the latest ubuntu ppa version 1.7.18 didn't make a difference.
What actually helped was calling pip from inside python (as mentioned somewhere on pip's installation pages for upgrading) :

Code: Select all

python -m pip install -U pip
So my build now looks somewhat like this and works like a charm:

Code: Select all

python get-pip.py

python -m pip install -r requirements.txt

python c:\python27\lib\site-packages\pyinstaller\main.py -y main.spec
And for those wondering why: Add VNC to this wine jenkins node and you can build perfectly good windows executables on a linux node :)
Locked