Closed ccoulombe closed 2 months ago
>>> import matplotlib
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "<stdin>", line 1, in <module>
....
AttributeError: _ARRAY_API not found
ImportError: numpy.core.multiarray failed to import
(32603) [coulombc@node2 wheels_builder]$ pip install numpy==1.26.4 matplotlib-3.9.2+computecanada-cp311-cp311-linux_x86_64.whl
(32603) [coulombc@node2 wheels_builder]$ python -c 'import matplotlib'
(32603) [coulombc@node2 wheels_builder]$
Cool, au moins numpy donne une erreur compréhensible à l'usager.
numpy 2.1.1 and the wheelhouse are now synced to the systems.
Roadmap to support and deploy Numpy 2.0
2.1.1
wheelsBy adding numpy 2.0, we risk of :
oldest-supported-numpy
and uses ascipy-stack
for itsnumpy
scipy-stack
(or any module that uses it, egarrow
oropencv
).numpy<2.0