运行结果:
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on 0.0.0.0:8889 fd 3
uwsgi socket 0 bound to UNIX address /root/data/www/logs/order.sock fd 6
uWSGI running as root, you can use --uid/–gid/–chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Python version: 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
!!! Python Home is not a directory: /data/www/vir_python3 !!!
Set PythonHome to /data/www/vir_python3
ImportError: No module named site
有这个文件
uwsgi.ini文件展示:
多线程为什么会跑不起来呀,是要配置vir_python3虚拟环境么