Code: Select all
[build-system]
requires = ["setuptools", "wheel", "cython", "numpy"] # was `oldest-supported-numpy` before
build-backend = "setuptools.build_meta"
< /code>
Soweit ich das beurteilen kann, funktioniert dies gut. Hier finden Sie die vollständigen Protokolle. < /P>
ImportError while importing test module '/Users/runner/work/1/s/tests/test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_utils.py:4: in
from openTSNE.utils import clip_point_to_disc
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openTSNE/__init__.py:1: in
from .tsne import TSNE, TSNEEmbedding, PartialTSNEEmbedding, OptimizationInterrupt
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openTSNE/tsne.py:11: in
from openTSNE import _tsne
openTSNE/_tsne.pyx:1: in init openTSNE._tsne
???
E ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use 'numpy._import_array' to disable if you are certain you don't need it).
Code: Select all
cimport numpy as cnp
cnp.import_array() #