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
  Read owl file using python flask Gayathri 1 165 Nov-20-2019, 12:56 PM
Last Post: ChislaineWijdeven
  Extracting links from website with selenium bs4 and python M1ck0 1 230 Jul-20-2019, 10:29 PM
Last Post: Larz60+
  How to create Flask-Stripe Checkout and Charge for the multiple items Antares 4 712 Jul-05-2019, 10:20 AM
Last Post: Antares
  download pdf file from website m_annur2001 1 351 Jun-21-2019, 05:03 AM
Last Post: j.crater
  Python + request from specific website - please help hoff1022 8 782 Feb-14-2019, 06:52 PM
Last Post: buran
  Flask generating a file for download darktitan 0 665 Dec-30-2018, 02:02 PM
Last Post: darktitan
  [Flask] Uploading CSV file to flask, only first line being uploaded. Help ! KirkmanJ 2 2,534 Jun-25-2018, 02:24 PM
Last Post: KirkmanJ
  How to perform predictions on a data in csv file using Flask? manjusavanth 0 1,487 May-23-2018, 09:03 AM
Last Post: manjusavanth
  Problem parsing website html file thefpgarace 2 889 May-01-2018, 11:09 AM
Last Post: Standard_user
  hi new at python , trying to get urls from website dviry 6 1,425 Feb-24-2018, 07:34 PM
Last Post: metulburr

Forum Jump:


Users browsing this thread: 1 Guest(s)