Advertisement
Guest User

Untitled

a guest
Dec 24th, 2023
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. >>> import numpy
  2. Traceback (most recent call last):
  3. File "C:\Users\my_user\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\__init__.py", line 24, in <module>
  4. from . import multiarray
  5. File "C:\Users\my_user\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\multiarray.py", line 10, in <module>
  6. from . import overrides
  7. File "C:\Users\my_user\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\overrides.py", line 8, in <module>
  8. from numpy.core._multiarray_umath import (
  9. ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
  10.  
  11. During handling of the above exception, another exception occurred:
  12.  
  13. Traceback (most recent call last):
  14. File "C:\Users\my_user\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\__init__.py", line 144, in <module>
  15. from numpy.__config__ import show as show_config
  16. File "C:\Users\my_user\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\__config__.py", line 4, in <module>
  17. from numpy.core._multiarray_umath import (
  18. File "C:\Users\my_user\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\__init__.py", line 50, in <module>
  19. raise ImportError(msg)
  20. ImportError:
  21.  
  22. IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
  23.  
  24. Importing the numpy C-extensions failed. This error can happen for
  25. many reasons, often due to issues with your setup or how NumPy was
  26. installed.
  27.  
  28. We have compiled some common reasons and troubleshooting tips at:
  29.  
  30. https://numpy.org/devdocs/user/troubleshooting-importerror.html
  31.  
  32. Please note and check the following:
  33.  
  34. * The Python version is: Python3.11 from "C:\msys64\mingw64\bin\python3.exe"
  35. * The NumPy version is: "1.26.2"
  36.  
  37. and make sure that they are the versions you expect.
  38. Please carefully study the documentation linked above for further help.
  39.  
  40. Original error was: No module named 'numpy.core._multiarray_umath'
  41.  
  42.  
  43. The above exception was the direct cause of the following exception:
  44.  
  45. Traceback (most recent call last):
  46. File "<stdin>", line 1, in <module>
  47. File "C:\Users\my_user\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\__init__.py", line 149, in <module>
  48. raise ImportError(msg) from e
  49. ImportError: Error importing numpy: you should not try to import numpy from
  50. its source directory; please exit the numpy source tree, and relaunch
  51. your python interpreter from there.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement