-
Published Question
Currently experiencing this on Linux CentOS using Py 3.5 venv
File "/var/www/html/site-available/src/app.py", line 1, in <module>
from flask import Flask, render_template
ImportError: No module named flask
Any tips or...
Accepted Answer:
Hi @dev5
You might find better help with Python programming on StackOverflow:
https://stackoverflow.com/questions/31252791/flask-importerror-no-module-named-flask
2
•
•
By
dev5
Python Frameworks
-
Published Question
The server connection is showing an Internal Server Error when I access the IPv4. Running sudo tail -30 /var/log/nginx/error.log gives me:
[error] 17876#0: *14 connect() to unix:/var/www/html/site-available/socket.soc...
Accepted Answer:
failed (111: Connection refused) while connecting to upstream
This error means that the upstream server (uwsgi in this case) could not be reached. Usually it means that either uwsgi crashed or wasn't even started in t...
1
•
•
By
dev5
Nginx
-
Published Answer
/etc/nginx/nginx.conf file:
https://jpst.it/11K8f
and `/etc/init/uwsgi.conf config file:
https://jpst.it/11K8T
•
By
dev5
-
Published Question
I've SSH installed a Python 3.5 application on CentOS along with uwsgi and nginx, but after doing asudo vi /etc/nginx/nginx.conf to edit the nginx config file as per usual, the response is currently:
nginx: [emerg] b...
3
•
•
By
dev5
Python
Nginx
CentOS