title: RuntimeError at / cannot cache function '__shear_dense': no locator available for file '/home/...site-packages/librosa/util/utils.py'
body: <p>I am trying to host django application with apache2. But getting the following error. </p>
  
  <pre><code>RuntimeError at / cannot cache function '__shear_dense': no locator available for file '/home/username/project/env/lib/python3.6/site-packages/librosa/util/utils.py'
  </code></pre>
  
  <p>When running the Django server, no such error is encountered but in case of apache2 server, this error is thrown. </p>
  
  <p>Similar question can be found here : <a href="https://stackoverflow.com/questions/56995232/runtimeerror-cannot-cache-function-jaccard-no-locator-available-for-file">RuntimeError: cannot cache function &#39;__jaccard&#39;: no locator available for file &#39;/usr/local/lib/python3.7/site-packages/librosa/util/matching.py&#39;</a></p>
  
  <p>The problem is a wsgi error and appears to be due to import of librosa and numba. I have been stuck on these days. Any pointers on how to approach this problem will be highly appreciated. </p>