[問題] Django and scipy
先說明一下我的環境:
Gentoo linux, kernel: 3.2.12, x86_64
Apache server: apache-2.2.21-r1,mod_python-3.3.1-r1與mod_wsgi-3.3均已安裝,
且經測試後可正式執行。
Django-1.4, scipy-0.10.1
我開發了一個Django app,程式中有import scipy.stats的部份,
而在本機端用python manage.py runserver時均正確執行。
而在deploy到apache時,我依照djangoproject的說明去設定,
不論是使用mod_python或是mod_wsgi的方式,都無法正確的執行程式。
用browser輸入網址之後,畫面就停住了直到timeout。
只要把程式當中import scipy.stats的部份都註解掉,在apache上的程式
就又可以正常執行。
我有搜尋過一些討論如下:
http://mail.scipy.org/pipermail/scipy-dev/2011-August/016446.html
http://ppt.cc/wJn!
但是似乎沒有解決的方法,有沒有大大曾經過到這個問題可以指導一下,謝謝。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.168.67
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):