No module named builtins

I also found using ‘pip install future’ resolved this issue I got the information from here: https://askubuntu.com/questions/697226/importerror-no-module-named-builtins I hope this clarifies this for other users, like me who stumbled upon your question

Are there any alternatives to py2exe? [closed]

pyInstaller is cross-platform and very powerful, with many third-party packages (matplotlib, numpy, PyQT4, …) specially supported “out of the box”, support for eggs, code-signing on Windows (and a couple other Windows-only goodies, optional binary packing… the works!-) The one big issue: the last “released” version, 1.3, is ages-old — you absolutely must install the SVN … Read more

Packaging a Python script on Linux into a Windows executable

As mentioned by other answerers, the cross-compilation feature is removed from PyInstaller since 1.5. Here, show how to package a Windows executable from Python scripts using PyInstaller under wine. Step 1: Install wine and Python sudo apt-get install wine wine msiexec /i python-2.7.10.msi /L*v log.txt PS: Newer Python versions already include pip (is used to … Read more

IndexError: tuple index out of range when using py2exe

Update (2020-11-17): py2exe LIVES!!! Apparently my pessimism a year ago (see “Update” at bottom of original post) was unwarranted. py2exe released new versions in October and November of 2020, supporting 3.5-3.8 in 0.10.0.2 and adding 3.9 support in 0.10.1.0 (dropping support for 3.4 and earlier). As long as you upgrade to an appropriate py2exe version … Read more

How can I convert a .py to .exe for Python?

Steps to convert .py to .exe in Python 3.6 Install Python 3.6. Install cx_Freeze, (open your command prompt and type pip install cx_Freeze. Install idna, (open your command prompt and type pip install idna. Write a .py program named myfirstprog.py. Create a new python file named setup.py on the current directory of your script. In … Read more