How to install pip on wine?
6,746
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 python-2.7.10.msi/L*v log.txt
To install Python packages on wine, for instance,
$ wine python.exe Scripts/pip.exe install pyinstaller
Successfully installed pyinstaller-3.1.1 pypiwin32-219
Refer to this post Build a Windows executable from Python scripts on Linux for the detailed description.
Related videos on Youtube
Author by
SparkAndShine
Updated on September 18, 2022Comments
-
SparkAndShine over 1 year
I fail to install
pip
by:# install wine and python sudo apt-get install wine winetricks winetricks python # try to install pip winetricks pip
BTW, there is no
pip.exe
underPython26/Scripts
.~/.wine/drive_c/Python26/Scripts$ ls pywin32_postinstall.py pywin32_postinstall.pyc pywin32_postinstall.pyo
-
jfs about 8 yearsYou could install newer Python versions that already include
pip
:wine msiexec /i python-X.Y.Z.msi /L*v log.txt
-