title: No module named 'sklearn.neighbors._dist_metrics'
body: <pre><code>from flask import Flask,request,jsonify
  import numpy as np
  import pickle
  from sklearn.neighbors import DistanceMetric, NearestNeighbors
  model = pickle.load(open('model.pkl','rb'))
  
  app = Flask(__name__)
  
  @app.route('/')
  def index():
      return &quot;Hello world&quot;
  
  @app.route('/predict',methods=['POST'])
  def predict():
      cgpa = request.form.get('cgpa')
      iq = request.form.get('iq')
      profile_score = request.form.get('profile_score')
  
      input_query = np.array([[cgpa,iq,profile_score]])
  
      result = model.predict(input_query)[0]
  
      return jsonify({'placement':str(result)})
  
  if __name__ == '__main__':
      app.run(debug=True)
  </code></pre>
  <p>Error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;C:\Users\Administrator\PycharmProjects\student-placement-predictor-android-app\app.py&quot;, line 5, in &lt;module&gt;
      model = pickle.load(open('model.pkl','rb'))
  ModuleNotFoundError: No module named 'sklearn.neighbors._dist_metrics'
  </code></pre>