vir Posted June 15, 2023 Share Posted June 15, 2023 Hi There, Need following library installed for python to create web app using flask.library name : flask_wtf Currently failing to load page with following error. Also I find the change in files vs on web app has delay for about 7min, is there a way to enable debug mode so the changes can reflect in real time ? I have already enable app.run(debug=True) 2023-06-15 05:29:56 Error 2601:204:cc00:8110:74a2:f8d9:aecb:8f2e File "/home/debugger.heliohost.us/httpdocs/flask/form.py", line 1, in <module> Apache error 2023-06-15 05:29:56 Error 2601:204:cc00:8110:74a2:f8d9:aecb:8f2e from flask_wtf import FlaskForm Apache error 2023-06-15 05:29:56 Error 2601:204:cc00:8110:74a2:f8d9:aecb:8f2e ModuleNotFoundError: No module named 'flask_wtf' Apache error Link to comment Share on other sites More sharing options...
wolstech Posted June 15, 2023 Share Posted June 15, 2023 Krydos needs to install this. Link to comment Share on other sites More sharing options...
Krydos Posted June 17, 2023 Share Posted June 17, 2023 On 6/15/2023 at 12:36 AM, vir said: Need following library installed for python to create web app using flask.library name : flask_wtf Installed. You can see the current list of installed modules and their versions at https://johnny.kairion.eu.org/pyinfo/info3.10.py On 6/15/2023 at 12:36 AM, vir said: I find the change in files vs on web app has delay for about 7min, is there a way to enable debug mode so the changes can reflect in real time ? Yes, get a VPS and you can restart Flask whenever you want. They start at $4 per month. For shared hosting the changes can take anywhere from 1 minute to 2 hours, plus changes can revert to old versions depending on if your old code is cached on an Apache process. We only restart Apache every 2 hours to keep the uptime high. Link to comment Share on other sites More sharing options...
Recommended Posts