简体   繁体   中英

from scipy.interpolate import interp1d hangs django

Need to use interp1d from scipy, but if i try to import it, app can't finish loading page. I have view which works fine:

def index(request):
     return render_to_response('price/index.html')

As far as i just try to import

from scipy.interpolate import interp1d

Page loads forever. No errors.

Finally could make it work. Need to add directive

WSGIApplicationGroup %{GLOBAL}

to apache2 config.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM