https://bugs.documentfoundation.org/show_bug.cgi?id=143980
--- Comment #15 from Xisco FaulĂ <[email protected]> --- After https://git.libreoffice.org/core/+/47e110fc66292e76152252a90a0e20580c33c13d%5E%21, numpy can be installed with instdir/program/python -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org numpy. Then, it fails with Python 3.11.11 (main, Jan 21 2025, 22:09:39) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import numpy Traceback (most recent call last): File "/home/xisco/libreoffice/instdir/program/python-core-3.11.11/lib/numpy/_core/__init__.py", line 23, in <module> from . import multiarray File "/home/xisco/libreoffice/instdir/program/python-core-3.11.11/lib/numpy/_core/multiarray.py", line 10, in <module> from . import overrides File "/home/xisco/libreoffice/instdir/program/python-core-3.11.11/lib/numpy/_core/overrides.py", line 7, in <module> from numpy._core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy._core._multiarray_umath' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/xisco/libreoffice/instdir/program/python-core-3.11.11/lib/numpy/__init__.py", line 114, in <module> from numpy.__config__ import show_config File "/home/xisco/libreoffice/instdir/program/python-core-3.11.11/lib/numpy/__config__.py", line 4, in <module> from numpy._core._multiarray_umath import ( File "/home/xisco/libreoffice/instdir/program/python-core-3.11.11/lib/numpy/_core/__init__.py", line 49, in <module> raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.11 from "/home/xisco/libreoffice/instdir/program/python.bin" * The NumPy version is: "2.2.2" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: No module named 'numpy._core._multiarray_umath' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/xisco/libreoffice/instdir/program/python-core-3.11.11/lib/numpy/__init__.py", line 119, in <module> raise ImportError(msg) from e ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. but we are one step closer... -- You are receiving this mail because: You are the assignee for the bug.
