title: AttributeError: type object 'sklearn.manifold._barnes_hut_tsne.array' has no attribute '__reduce_cython__'
body: <p>I'm trying to run a code in Python to import Kmeans using sklearn. However, when I try to import, I get this error message: </p>
  
  <blockquote>
    <p>AttributeError: type object 'sklearn.manifold._barnes_hut_tsne.array' has no attribute '<strong>reduce_cython</strong>'</p>
  </blockquote>
  
  <p>sklearn is installed with all the necessary packages. I'm unsure as to what the problem might be. Here is part of the code from my work involving the import:</p>
  
  <pre><code>from sklearn.cluster import KMeans
  num_clusters = 8
  km = KMeans(n_clusters=num_clusters)
  %time km.fit(tfidf_matrix)
  clusters = km.labels_.tolist()
  </code></pre>
  
  <p>even if I put <code>from sklearn.cluster import KMeans</code> all by itself, I get the same error, so the error is coming from that line of code alone. Any help would be appreciated.</p>
  
  <p><strong>NOTE:</strong> I am using Jupyter Notebook and yes, I have installed any and all necessary packages as well as updated sklearn.</p>