LoginSignup
1
0

More than 5 years have passed since last update.

Flask実行時にPYTHONPATHが見つからない

Posted at

flask run --host=0.0.0.0をしたらエラーが出た。

NoAppException: The file/path provided (app.py) does not appear to exist.  Please verify the path is correct.  If app is not on PYTHONPATH, ensure the extension is .py

flaskコマンドではなくpythonから呼び出したら普通に動いた...
flaskのpythonが2.7系で、python3.5系だったのが問題だと思う。

python app.py
1
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
1
0