Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Create .exe file for Python flask website.
#1
Please see below steps followed to create .exe file.
1) Ran pyinstaller App.py in cmd at folder location where App.py file is located
2) Pyinstaller created .spec file at App.py location, build folder(App.exe) file and dist folder(this is empty)
3) Clicked on App.exe under build folder file to launch website. Nothing happens

What additional changes needs to be done in App.spec file to launch .exe ? or Am I missing anything here? Please help.
Quote
#2
I have never heard of making an executable from a Flask application.
However, here's a blog on exactly that subject here: https://elc.github.io/posts/executable-f...installer/
buran likes this post
Quote
#3
I had gone through this solution before posting this thread. It doesn't work for me.
Thanks for the help Larz60+.
Quote
#4
I'd convert mine to EXE and deploy is over a host. Just get "Auto Py To Exe" application. Download it locally. Open the app, insert your project location, do some setup if you want, and then click "Convert". There you go. Flask in EXE format. Plug-in anywhere that you like without the need to have Python Interpreter.
Quote
#5
https://www.youtube.com/watch?v=j0Nm0AfJDo0
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Python tool based on website? zarize 2 298 Mar-21-2020, 02:25 PM
Last Post: zarize
  Read owl file using python flask Gayathri 1 296 Nov-20-2019, 12:56 PM
Last Post: ChislaineWijdeven
  Extracting links from website with selenium bs4 and python M1ck0 1 425 Jul-20-2019, 10:29 PM
Last Post: Larz60+
  How to create Flask-Stripe Checkout and Charge for the multiple items Antares 4 1,285 Jul-05-2019, 10:20 AM
Last Post: Antares
  download pdf file from website m_annur2001 1 548 Jun-21-2019, 05:03 AM
Last Post: j.crater
  Python + request from specific website - please help hoff1022 8 880 Feb-14-2019, 06:52 PM
Last Post: buran
  Flask generating a file for download darktitan 0 786 Dec-30-2018, 02:02 PM
Last Post: darktitan
  [Flask] Uploading CSV file to flask, only first line being uploaded. Help ! KirkmanJ 2 3,112 Jun-25-2018, 02:24 PM
Last Post: KirkmanJ
  How to perform predictions on a data in csv file using Flask? manjusavanth 0 1,770 May-23-2018, 09:03 AM
Last Post: manjusavanth
  Problem parsing website html file thefpgarace 2 1,027 May-01-2018, 11:09 AM
Last Post: Standard_user

Forum Jump:


Users browsing this thread: 1 Guest(s)