I bought a server, and I encountered some problems when deploying flask program for the first time, as follows
Google found that you can directly use gunicorn3 to support python3 . After the server is installed, it can be started using gunicorn3 . The command is as follows:
supervisorctl restart todo
-sharp
todo: ERROR (not running)
todo: ERROR (spawn error)
service supervisor restart
-sharp
I googled myself and said on the Internet that supervisor does not support python3 . I don"t know exactly what the reason is, or it may be due to my own configuration error and other reasons. May I ask how to solve this problem? I beg your pardon for the lack of knowledge in the first deployment.
I hope to have some guidance from my seniors, and I can try to solve it by myself.
