Django服务器在使用an时超时

2024-05-09 12:18:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我想部署一个基于django的网站,使用theano进行科学计算。但只有一条线

import theano

使服务器超时。服务器使用Apache2和mod\wsgi。在

如果我删除了输入ano的那一行就可以了。我不知道原因是什么。在

顺便说一下,如果我在本地测试网站,只需运行

^{pr2}$

即使导入theano库也能正常工作。在

拜托有人知道原因吗?:(

(环境为ubuntu server 12.04 LTS)

这是错误.log阿帕奇的:

[Mon Apr 15 21:53:50 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Mon Apr 15 21:53:50 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Mon Apr 15 21:53:50 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 SVN/1.6.17 PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch mod_ssl/2.2.22 OpenSSL/1.0.1 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations

Tags: djangoimport服务器modwsgi网站部署原因