LoginSignup
0
0

More than 1 year has passed since last update.

メモ:データベースを使ったFlaskをPyinstallerでパッケージングしたら500エラーが出たときの対処法

Posted at

問題

タイトル通り、データベースを使ったFlaskをPyinstallerでパッケージングしたら500エラーが出た。

対処法

Pyinstallerの--onefileオプションを外し、データベースのファイルを.exeファイルと同じ階層に置く。

備考

データベースを事前に作成しておいておく方式のガバガバ開発で飲み使えるTipsなのでかなり限られた状況でだけ役に立つ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0