-3

I'm making an GUI application using Tkinter, but I'm not able to run this file on other operating systems. How can I do this?

Python version is 3.5.2, and working on Windows.

Greenonline
  • 1,265
  • 6
  • 21
  • 27
  • 4
    Possible duplicate of [How to make a Python script standalone executable to run without ANY dependency?](https://stackoverflow.com/questions/5458048/how-to-make-a-python-script-standalone-executable-to-run-without-any-dependency) – Harwee Sep 21 '17 at 05:20

1 Answers1

0

Install PyInstaller from PyPI:

pip install pyinstaller

Go to your program’s directory and run:

pyinstaller yourprogram.py

This will generate the bundle in a subdirectory called dist.

Greenonline
  • 1,265
  • 6
  • 21
  • 27
QuantumEnergy
  • 366
  • 1
  • 14