2

How can I build a .exe program from my Anaconda environment to get a standalone application?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Danila Manturov
  • 185
  • 1
  • 2
  • 8
  • 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) – nickzor Nov 12 '18 at 06:15
  • But that question is not specific enough for Windows (EXE). – Peter Mortensen Jun 22 '20 at 16:26

1 Answers1

2

Create an environment with all packages needed for your program and run python your_script.py or pyinstaller --onefile <your_script_name>.py if you want a one-file .exe only.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Ha Bom
  • 2,787
  • 3
  • 15
  • 29