rsnt_translations
56,420
edits
(Created page with "=== Message ImportError: numpy.core.multiarray failed to import ===") |
(Created page with "Ceci se produit quand une version incompatible de numpy est installée ou utilisée; vous devez installer une version compatible.") |
||
Line 615: | Line 615: | ||
When trying to import a Python module that depends on Numpy, one may encounter <code>ImportError: numpy.core.multiarray failed to import</code>. | When trying to import a Python module that depends on Numpy, one may encounter <code>ImportError: numpy.core.multiarray failed to import</code>. | ||
Ceci se produit quand une version incompatible de numpy est installée ou utilisée; vous devez installer une version compatible. | |||
This is especially true with the [https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-0-specific-advice release of Numpy 2.0 which breaks the ABI.] | This is especially true with the [https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-0-specific-advice release of Numpy 2.0 which breaks the ABI.] | ||
In the case of a wheel that was built with version 1.x but installed version 2.x, one must installed a lower version with: <code>pip install --no-index 'numpy<2.0'</code> | In the case of a wheel that was built with version 1.x but installed version 2.x, one must installed a lower version with: <code>pip install --no-index 'numpy<2.0'</code> |