Python Forum

Full Version: Convert py2exe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to make this an exe with pyinstaller It's not working for me so what I'm really looking for is for someone to do it for me, I've looked everywhere uninstalled and reinstalled multiple versions of python. All you need to do is copy my code and put it in a py file then type in cmd

pyinstaller --onefile -w myfilename.py





Thanks
if you can do this please dm me
Is it not better to resolve your issue, so you can do this yourself whenever you want?
Post your code (in code tags) as well as any errors/traceback (in error tags) that you get.
my code is fine just whenever i try to make it an exe with pyinstaller i get this error

to prove my code is fine the file i am converting in this picture contains just this code

print('hello world')

no errors would exist there

http://imgur.com/VD7qrTt
Don't post images! Make the effort to copy/paste it.

(May-28-2017, 07:13 AM)daltorya19 Wrote: [ -> ]my code is fine just whenever i try to make it an exe with pyinstaller i get this error

what error?
(May-28-2017, 05:26 AM)daltorya19 Wrote: [ -> ]pyinstaller --onefile -w myfilename.py
Remove -w
pyinstaller --onefile myfilename.py

Official Pyinstaller work up to Python 3.5
Work for Python 3.6(i have tested for win-10) if use development version.
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
it looks like this error is caused by one of two reasons:

1. You installed pyinstaller via pip and your python folder name has spaces in it.

read

https://stackoverflow.com/questions/3180...te-process

Note that this was reported as fixed as of july 2016, so maybe you are using old version of pip and setuptools, so you need to upgrade, uninstall and install pyinstaller

2. you manually renamed the python folder

https://stackoverflow.com/questions/1737...7#17560177
I tried all of the above and I still have the same problem