Install Python and PyInstaller in Wine - Kali Linux
Setup/Install Wine and install Python and PyInstaller for windows.
Commands
dpkg --add-architecture i386 && apt-get install win32
winecfg
wget https://www.python.org/ftp/python/2.7.13/python-2.7.msi
wine msiexec /i python-2.7.13.msi
wget https://bootstrap.pypa.io/get-pip.py
wine /root/.wine/drive_c/Python27/python.exe get-pip.py
wine /root/.wine/drive_c/Python27/python.exe -m pip install pyinstaller
Commands
dpkg --add-architecture i386 && apt-get install win32
winecfg
wget https://www.python.org/ftp/python/2.7.13/python-2.7.msi
wine msiexec /i python-2.7.13.msi
wget https://bootstrap.pypa.io/get-pip.py
wine /root/.wine/drive_c/Python27/python.exe get-pip.py
wine /root/.wine/drive_c/Python27/python.exe -m pip install pyinstaller
The first command needs to be:
ReplyDeletedpkg --add-architecture i386 && apt-get update && apt-get install wine32
wine /root/.wine/drive_c/Python27/python.exe get-pip.py
ReplyDeleteI got this error
Traceback (most recent call last):
File "get-pip.py", line 28, in
import tempfile
File "C:\Python27\lib\tempfile.py", line 35, in
from random import Random as _Random
File "C:\Python27\lib\random.py", line 887, in
_inst = Random()
File "C:\Python27\lib\random.py", line 97, in __init__
self.seed(x)
File "C:\Python27\lib\random.py", line 115, in seed
a = long(_hexlify(_urandom(2500)), 16)
WindowsError: [Error -2146893801] Windows Error 0x80090017
did you solve this problem
Delete