ImportError: No module named django.core.wsgi Apache + VirtualEnv + AWS + WSGI

后端 未结 10 869
予麋鹿
予麋鹿 2020-11-29 03:34

I am trying to publish my site on an Amazon\'s EC2 Instance, and I keep getting a 500 error. I really dunno why.

//Log Files

    [Sun Feb 17 23:12:48         


        
10条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-29 04:06

    For me it was some variables that needed to be setted (for windows) :

    set PYTHONHOME=F:\path\to\python
    set PYTHONPATH=F:\path\to\python
    

提交回复
热议问题