Python Apache WSGI错误:没有这样的文件或目录:Python解释器可能无法正确初始化

时间:2019-01-10 02:13:14

标签: django apache mod-wsgi django-wsgi

嗨,我正在尝试使用WSGI模块通过Apache安装程序运行python应用程序。我正在尝试解决“ error.log”文件中的错误。

我也放了我的apache conf文件的样本

<VirtualHost *:80>
    ServerName http://dcc3ec2-152-105-91-37.us-east-2.compute.amazonaws.com
    ServerAdmin 1234@gmail.com
    WSGIScriptAlias / /var/www/Project_TickerScan/Tscan_ec2_production/Tscan_ec2_production/DTguru_03192018/wsgi.py
    WSGIDaemonProcess DTguru_03192018 python-path=/var/www/html/Project_TickerScan/Tscan_ec2_production/Tscan_ec2_production python-home=/var/www/Project_TickerScan/Tscan_ec2_production/Tscan_ec2_production/tscan_ec2_venv/
    WSGIProcessGroup DTguru_03192018


    <Directory /var/www/keras-complete-rest-api/>
        Order allow,deny
        Allow from all
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/access.log combined

0 个答案:

没有答案