apache - Caffe throws mkl error while importing using mod_wsgi and httpd -


i have flask app uses caffe compiled mkl. app working fine when running using flask internal server or gunicorn. when try run using mod_wsgi , httpd, throws following error:

intel mkl fatal error: cannot load <mkl-loader>. 

i using anaconda 4.1.1 comes mkl. httpd, using mpm prefork , mod_wsgi 4.5.3 (i tried older , newer versions well).

note: caffe imports fine when done outside httpd/mod_wsgi.


Comments