4 Posts
  • Published Question

    ImportError with Flask

    Currently experiencing this on Linux CentOS using Py 3.5 venv File "/var/www/html/site-available/src/", 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:
    2 By dev5 Python Frameworks
  • Published Question

    How to solve "internal server error"

    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

    nginx error “page is temporarily unavailable”

    /etc/nginx/nginx.conf file: and `/etc/init/uwsgi.conf config file:
    By dev5
  • Published Question

    nginx error “page is temporarily unavailable”

    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