Kedoiden in VSCODE und COUTKILE können nicht installiert werden [Duplikat]Python

Python-Programme
Anonymous
 Kedoiden in VSCODE und COUTKILE können nicht installiert werden [Duplikat]

Post by Anonymous »

Ich erhalte den folgenden Fehler in meinem Collab -Notebook, wenn ich versuche, KMedoiden zu importieren: < /p>

from sklearn_extra.cluster import KMedoids
< /code>
< /blockquote>
Fehler: < /p>
---------------------------------------------------------------------------

ValueError Traceback (most recent call last)

in ()
17 from sklearn.mixture import GaussianMixture
18
---> 19 from sklearn_extra.cluster import KMedoids
20
21 import warnings

2 frames

/usr/local/lib/python3.11/dist-packages/sklearn_extra/kernel_approximation/_fastfood.py in
9 from sklearn.utils import check_array, check_random_state
10
---> 11 from ..utils._cyfht import fht2 as cyfht
12
13

sklearn_extra/utils/_cyfht.pyx in init sklearn_extra.utils._cyfht()

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
< /code>
Ich habe dieses Problem innerhalb von VSCODE gestellt, also habe ich zu Google Collabwechselung gewechselt. Aber ich sehe auch diese Probleme dort. Kann jemand helfen? Danke.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post