在Amazon Ec2上部署Django Python错误

时间:2018-12-29 20:52:59

标签: python amazon-ec2

我正在尝试在一个实例下部署Django Web应用程序。配置httpd.conf文件并复制/ var / www / html中所需的内容之后,我运行apache服务,但是当我尝试通过url访问时出现此错误:

Current thread 0x00007fbe92454840 (most recent call first):
[Sat Dec 29 15:03:19.205869 2018] [core:notice] [pid 5137] AH00052: child pid 6377 exit signal Aborted (6)
[Sat Dec 29 15:03:19.206506 2018] [core:notice] [pid 5137] AH00052: child pid 6378 exit signal Aborted (6)
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fbe92454840 (most recent call first):
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007fbe92454840 (most recent call first):

感谢您对我的帮助

0 个答案:

没有答案