-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
When I install in a fresh virtual environment, pip install numpy-quaddtype, which pulls in numpy 2.4.1, and then in python enter,
>>> from numpy_quaddtype import QuadPrecDType, QuadPrecision
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
from numpy_quaddtype import QuadPrecDType, QuadPrecision
File "/home/mhvk/temp/lib/python3.13/site-packages/numpy_quaddtype/__init__.py", line 1, in <module>
from ._quaddtype_main import (
...<7 lines>...
)
RuntimeError: Invalid slot with value 1031 passed in.
I also tried downgrading to numpy==2.40, but that did not change anything.
Further information as asked for in the numpy issue template:
import sys, numpy; print(numpy.__version__); print(sys.version)
2.4.0
3.13.11 (main, Dec 8 2025, 11:43:54) [GCC 15.2.0]
>>> import numpy; numpy.show_runtime()
[{'numpy_version': '2.4.0',
'python': '3.13.11 (main, Dec 8 2025, 11:43:54) [GCC 15.2.0]',
'uname': uname_result(system='Linux', node='swan.astro.utoronto.ca', release='6.17.13+deb14-amd64', version='#1 SMP PREEMPT_DYNAMIC Debian 6.17.13-1 (2025-12-20)', machine='x86_64')},
{'simd_extensions': {'baseline': ['X86_V2'],
'found': [],
'not_found': ['X86_V3',
'X86_V4',
'AVX512_ICL',
'AVX512_SPR']}},
{'ignore_floating_point_errors_in_matmul': False},
{'architecture': 'Sandybridge',
'filepath': '/home/mhvk/temp/lib/python3.13/site-packages/numpy.libs/libscipy_openblas64_-fdde5778.so',
'internal_api': 'openblas',
'num_threads': 4,
'prefix': 'libscipy_openblas',
'threading_layer': 'pthreads',
'user_api': 'blas',
'version': '0.3.30'}]
I was worried that my ~2011 Sandy bridge might not support the X86_V2 baseline, but apparently that is only a problem for pre-2009 chips. Still, it might be related to having an old processor. I'll try on my much more recent laptop at home.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels