1
I am a Backbox Linux user but I need to generate an executable for a program written in Python. I installed Windows 10 Pro on Vmware with Python 2.7 and Python 3.4. I use Pycharm and IDLE IDE. I installed pyinstaller through Pip, but when I try:
pyinstaller -F --clean script.py
I get the following error:"failed to create process" Any ideas? How to resolve? Some other way to create an executable?
Looking at the English OS, it seems that it is a problem with pyinstaller installation. What happens if you run
pyinstaller --version
? Your file system has directories with spaces in the name?– hugomg
@hugomg, my OS is in English. I will take the test and inform you!
– Ed S
I was talking about Stackoverflow.com in English, not the hahaha operating system :)
– hugomg
@hugomg, hahahah. It was funny! Thank you
– Ed S
>Pip install pyinstall Requirement already satisfied (use --upgrade to upgrade): pyinstall in c: program files python36-32 lib site-Packages
– Ed S
pyinstaller --version 'pyinstaller' is not recognized as an Internal or External command, operable program or batch file.
– Ed S
The second error message is because the pyinstaller executable is not in your PATH.
– hugomg
pyinstaller --version 3.2 should now work!
– Ed S
I no longer like Windows very much... Is there any way to generate EXE on Linux?
– Ed S
It should give but generating window executable on Linux is always more boring.
– hugomg
It generated EXE but did not run on Windows itself: "the program cant start because msvcr100.dll is Missing...
– Ed S
Once I had to do this for a college project and I followed the tutorial of this video: https://www.youtube.com/watch?v=GSoOwSqTSrs He explains how to do it so you don’t have conflict with the libraries you use and everything else.
– Gabriel Belini