import gensim
import numpy
import scipy
print("gensim version:", gensim.__version__)
print("numpy version:", numpy.__version__)
print("scipy version:", scipy.__version__)
ValueError Traceback (most recent call last)
in ()
----> 1 import gensim
2 import numpy
3 import scipy
4 print("gensim version:", gensim.__version__)
5 print("numpy version:", numpy.__version__)
13 frames
/usr/local/lib/python3.11/dist-packages/numpy/random/_pickle.py in
----> 1 from .mtrand import RandomState
2 from ._philox import Philox
3 from ._pcg64 import PCG64, PCG64DXSM
4 from ._sfc64 import SFC64
5
numpy/random/mtrand.pyx in init numpy.random.mtrand()
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
< /code>
Obwohl < /p>
!pip show gensim
< /code>
hat perfekt funktioniert. Ich deinstallierte Thinc, Spacy und Fastai, vorausgesetzt, sie waren nicht mit Gensim verwandt.>
Gensim binäre Inkompatibilität importieren ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post