0

I have seen 10's of tutorial for python to exe. very few are for 3.6.1 and none have worked for me. Please help.

Gabriel

Gabriel
  • 11
  • 1

2 Answers2

0

There is nothing that works well for python 3.6, so use python 3.5. When I convert python scripts to exe I use PyInstaller3.2.1 https://pypi.python.org/pypi/PyInstaller/3.2.1 and it works fine. Make sure your script is in the pyinstaller folder after you have built it then run the command python pyinstaller.py scriptName.py

Matt X
  • 224
  • 1
  • 6
  • 17
  • pyinstaller didn't work in my case. see my post https://stackoverflow.com/questions/45750676/build-a-exe-for-windows-from-a-python-3-script-importing-pyqtgraph-and-opening. it seems pyinstaller shows paradoxical properties: on one side it is not compatible with python 3.6; on the other side some syntax behaviors like my 'yield' problem seems to be linked to asynchronous generators that are not compatible with python 3.5-... – Stéphane Aug 29 '17 at 08:50
0

cx-freeze is working with Python 3.6 - At least I already created binaries with this combination.

Here is a description of how to use it: https://regilanj.wordpress.com/2017/06/07/py-to-exe-in-python-3-6-1/

DonGru
  • 13,532
  • 8
  • 45
  • 55
  • cx-freeze didn't work in my case, see my post https://stackoverflow.com/questions/45734926/build-a-exe-for-windows-from-a-python-3-script-importing-pyqtgraph-and-opening – Stéphane Aug 29 '17 at 08:43