I fail to install pip by:
# install wine and python
sudo apt-get install wine winetricks
winetricks python
# try to install pip
winetricks pipBTW, there is no pip.exe under Python26/Scripts.
~/.wine/drive_c/Python26/Scripts$ ls
pywin32_postinstall.py pywin32_postinstall.pyc pywin32_postinstall.pyo 1 2 Answers
Newer Python versions already include pip. Choose the proper version from Download Python (for me, python-2.7.10.msi) and install it on wine by:
$ wine msiexec /i log.txtTo install Python packages on wine, for instance,
$ wine python.exe Scripts/pip.exe install pyinstaller
Successfully installed pyinstaller-3.1.1 pypiwin32-219Refer to this post Build a Windows executable from Python scripts on Linux for the detailed description.
The above answer gets it right but for those who want to install Python 3 for Windows, pip is included and it can also be executed from the python binary.
wine python -m pip install pyinstaller
Follow this guide: