![]() So I followed this guide to change my PATH environment variables.īut it still wasn’t working. 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. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |