![Iolo system mechanic full 2021](https://cdn2.cdnme.se/5447227/9-3/23_64e61dfde087c337bd195b74.jpg)
![pyinstaller windows pyinstaller windows](https://i.stack.imgur.com/B1i0G.png)
![pyinstaller windows pyinstaller windows](https://3.bp.blogspot.com/-noEydMuuX0A/WaLgfCrNyFI/AAAAAAAAAyU/0FoUUzQby18x_m3EbgWhcEdHtpzb8J3mwCLcBGAs/s1600/install%2Bpyinstaller%2Bdi%2Bwindows%2B2.png)
I did not set my PATH environment variable to include the scripts. The immediate place I looked for solutions was this StackOverflow post.īy reading this thread, I realized that my Python environment was not set up correctly. The two commands, as listed on the Quickstart, are as follow:Ĭ:\Users\username>pyinstaller 'pyinstaller' is not recognized as an internal or external command, operable program or batch file. You just needed two commands, and you’ll be met with a shiny new executable ready to be distributed. At first glance, it was too elegant–and thus too good to be true. So I had to look for another solution, and I came across PyInstaller.
![pyinstaller windows pyinstaller windows](https://i.stack.imgur.com/7cqGg.jpg)
Plus, it would be quite annoying if they have to open up a cmd, navigate to the script’s folder, and type in “python lexis.py” everytime they want to use the script. However, I didn’t know if every single one of my co-workers has a Python environment on their work computer. The script was working great, and I wanted to distribute it to my co-workers. Because this script was to be used in tandum with what we’re doing at work, I wrote the script on the work computer, which was a Windows 10 PC, and my IDE of choice was Notepad++ (I’m really starting to dig it). Roadblocks I encountered using PyInstaller with Windows and MacOS.Īs an extension of a casual request from work, I wrote a Python script.
![Iolo system mechanic full 2021](https://cdn2.cdnme.se/5447227/9-3/23_64e61dfde087c337bd195b74.jpg)