Answer the question
In order to leave comments, you need to log in
How to fix ImportError: No module named site?
I've been sitting all day, trying to install django on a VPS, please tell me how to fix it ...
everything works on the locale.
[uwsgi]
uid = www-data
gid = www-data
master = true
workers = 4
plugins = python3
home = /home/web/env
chdir = /home/web/src/
socket = 127.0.0.1:8002
wsgi-file = /home/web/src/seller/wsgi.py
daemonize=/home/web/rest.log
touch-reload = /home/rhost/projects/seller/uwsgi
check-static = /home/rhost/projects/seller/static/
Answer the question
In order to leave comments, you need to log in
Did everything again and everything worked.
[uwsgi]
socket = 127.0.0.1:8002
stats = 127.0.0.1:1717
plugins = python3
virtualenv = /home/web/env/
pythonpath: /home/web/env/bin/
chdir = /home/web/src/
env = DJANGO_SETTINGS_MODULE=settings.dev
touch-reload = /home/web/uwsgi
check-static = /home/web/static/
module = seller.wsgi:application
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question