Good day. I developed a simple Flask app in a WEB IDE, where it works correctly, and when I want to run it on the PythonAnywhere server I get this error:
2020-09-14 14:06:21 *** Starting uWSGI 2.0.17.1 (64bit) on [Mon Sep 14 14:06:20 2020] *** 2020-09-14 14:06:21 compiled with version: 5.4.0 20160609 on 07 May 2020 19:40:56 2020-09-14 14:06:21 os: Linux-4.4.0-1106-aws #117 SMP Thu May 7 18:33:20 UTC 2020 2020-09-14 14:06:21 nodename: green-liveweb8 2020-09-14 14:06:21 machine: x86_64 2020-09-14 14:06:21 clock source: unix 2020-09-14 14:06:21 pcre jit disabled 2020-09-14 14:06:21 detected number of CPU cores: 2 2020-09-14 14:06:21 current working directory: (unreachable)/etc/uwsgi/vassals 2020-09-14 14:06:21 detected binary path: /usr/local/bin/uwsgi 2020-09-14 14:06:21 *** dumping internal routing table *** 2020-09-14 14:06:21 [rule: 0] subject: path_info regexp: \.svgz$ action: addheader:Content-Encoding:gzip 2020-09-14 14:06:21 *** end of the internal routing table *** 2020-09-14 14:06:21 chdir() to /home/FloraStore/FLORA/ 2020-09-14 14:06:21 limiting number of processes to 60... 2020-09-14 14:06:21 your processes number limit is 60 2020-09-14 14:06:21 your memory page size is 4096 bytes 2020-09-14 14:06:21 detected max file descriptor number: 123456 2020-09-14 14:06:21 building mime-types dictionary from file /etc/mime.types... 2020-09-14 14:06:21 552 entry found 2020-09-14 14:06:21 lock engine: pthread robust mutexes 2020-09-14 14:06:21 thunder lock: disabled (you can enable it with --thunder-lock) 2020-09-14 14:06:21 uwsgi socket 0 bound to UNIX address > /var/sockets/florastore.pythonanywhere.com/socket fd 3 2020-09-14 14:06:21 Python version: 3.7.5 (default, Nov 14 2019, 22:26:37) [GCC 5.4.0 20160609] 2020-09-14 14:06:21 Set PythonHome to /home/FloraStore/.virtualenvs/my-virtualenv 2020-09-14 14:06:21 *** Python threads support is disabled. You can enable it with --enable-threads *** 2020-09-14 14:06:21 Python main interpreter initialized at 0x17de840 2020-09-14 14:06:21 your server socket listen backlog is limited to 100 connections 2020-09-14 14:06:21 your mercy for graceful operations on workers is 60 seconds 2020-09-14 14:06:21 setting request body buffering size to 65536 bytes 2020-09-14 14:06:21 mapped 334256 bytes (326 KB) for 1 cores 2020-09-14 14:06:21 *** Operational MODE: single process *** 2020-09-14 14:06:21 initialized 38 metrics 2020-09-14 14:06:21 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x17de840 pid: 1 (default > app) 2020-09-14 14:06:21 *** uWSGI is running in multiple interpreter mode *** 2020-09-14 14:06:21 gracefully (RE)spawned uWSGI master process (pid: 1) 2020-09-14 14:06:21 spawned uWSGI worker 1 (pid: 2, cores: 1) 2020-09-14 14:06:21 metrics collector thread started 2020-09-14 14:06:21 spawned 2 offload threads for uWSGI worker 1 2020-09-14 14:06:24 announcing my loyalty to the Emperor...