- This topic has 6 replies, 2 voices, and was last updated 3 years, 12 months ago by Diego Pérez.
- AuthorPosts
- November 22, 2020 at 7:52 pm #48512michael.jlotterParticipant
Hi,
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.
Thanks
November 24, 2020 at 6:11 pm #48652michael.jlotterParticipantHi,
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 #48700Diego PérezModeratorHi!
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:https://pypi.org/project/py2exe/
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 #48712michael.jlotterParticipantHello,
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
Thanks
Mike
November 25, 2020 at 7:36 pm #48814Diego PérezModeratorHi!
Cool, Let me know how it goes!
DiegoNovember 27, 2020 at 8:51 pm #48937michael.jlotterParticipantNothing worked.
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 dissappointing
November 28, 2020 at 12:20 am #48943Diego PérezModeratorHi!
As mentioned before I tried this with custom kali v1.3 and it worked fine, I just run the commands:
apt update
apt install -y wineAnd I was able to install python interpreter and pyinstaller, so I would recommend that.
Greetings!
Diego - AuthorPosts
- You must be logged in to reply to this topic.