- November 22, 2020 at 7:52 pm #48512
I have tried installing pyinstaller on my Kali machine. I have used old and newer versions of kali and of python, but i always get an error message.
is there another tool for kali which can be used to convert a .py file to a .exe.
ThanksNovember 24, 2020 at 6:11 pm #48652
Since I have posted in this forum, I have attempted many ways to get Pyinstaller to work on Kali 2020.4 and using Python3.9
I get nothing but error messages trying to use this to convert my .py to a .exe
In wine/drive_c/python32, I have Pyinstaller folder in /Tools/Scripts, however when I use the cmd line to convert the file, it throws out errors.
Assistance would be greatly appreciated.November 24, 2020 at 6:53 pm #48700
Pyinstaller’s windows version 3.6 will work great with wine and can compile functional executables from linux, I have tested it my self, actually using it with python3 gives a lot of issues. Maybe try using this other tool:
I haven’t tested it yet as the mentioned version of pyinstaller is working fine but fell free to give it a try.
Hope it helps!
DiegoNovember 24, 2020 at 10:59 pm #48712
neither of those worked.
Apparently PIP is not supported in Python 3 so cant install py2exe, and previous versions of python have reached end of life.
I will have to try purging my linux system and starting it again
MikeNovember 25, 2020 at 7:36 pm #48814
Cool, Let me know how it goes!
DiegoNovember 27, 2020 at 8:51 pm #48937
I have tried purging and reinstalling a kali linux system, with different releases.
Each release will not install wine which rules out the use of any .exe build or install.
looks like i will have to wait to complete the course until Kali steps up its game and fixes linux installation issues and package installation issues.
very dissappointingNovember 28, 2020 at 12:20 am #48943
As mentioned before I tried this with custom kali v1.3 and it worked fine, I just run the commands:
apt install -y wine
And I was able to install python interpreter and pyinstaller, so I would recommend that.
- You must be logged in to reply to this topic.