Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
需要从 scipy 使用 interp1d,但如果我尝试导入它,应用程序无法完成加载页面。我认为效果很好:
def index(request): return render_to_response('price/index.html')
至于我只是尝试导入
from scipy.interpolate import interp1d
页面永远加载。没有错误。
终于可以让它工作了。需要添加指令
WSGIApplicationGroup %{GLOBAL}
到 apache2 配置。