阿里云ubuntu16.04部署时出现问题,挺急的

root@r# uwsgi --ini zirlo_user_uwsgi.ini [uWSGI] getting INI configuration from zirlo_user_uwsgi.ini Starting uWSGI 2.0.18 (32bit) on [Fri Sep 6 12:36:56 2019] compiled with version: 4.8.4 on 06 September 2019 01:54:24 os: Linux-4.4.0-85-generic #108~14.04.1-Ubuntu SMP Tue Jul 4 12:02:51 UTC 2017 nodename: machine: i686 clock source: unix detected number of CPU cores: 1 current working directory: /srv/zirlo_user detected binary path: /usr/local/bin/uwsgi !!! no internal routing support, rebuild with pcre support !!! uWSGI running as root, you can use --uid/--gid/--chroot options WARNING: you are running uWSGI as root !!! (use the --uid flag) chdir() to /srv/zirlo_user your processes number limit is 7826 your memory page size is 4096 bytes detected max file descriptor number: 65535 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uwsgi socket 0 bound to UNIX address /srv/zirlo_user/zirlo_user.sock fd 3 uWSGI running as root, you can use --uid/--gid/--chroot options WARNING: you are running uWSGI as root !!! (use the --uid flag) Python version: 3.4.3 (default, Nov 12 2018, 22:26:27) [GCC 4.8.4] Set PythonHome to /root/.virtualenvs/zirlo-env-py3 Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' Aborted root@iZwz921dwclu57s91g9owzZ:/srv/zirlo_user#

评论 0