Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
349 views
in Technique[技术] by (71.8m points)

ubuntu - Flask App stops working with error. Can't find a module that clearly exists

My app stopped working on the production server. It still works fine in development. I am getting the following in my error log.

[wsgi:error] [pid 1607] [client 89.187.175.48:28408] ModuleNotFoundError: No module named 'queries'

queries is a module that holds database requests and it is in the app directory. I've put fresh app and query files on the server and restarted Apache2. I also rebooted the machine.

question from:https://stackoverflow.com/questions/65835242/flask-app-stops-working-with-error-cant-find-a-module-that-clearly-exists

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...