Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/local/lib/python3.7/site-packages/numpy/core/__init__.py", line 40, in <module>
  3. from . import multiarray
  4. File "/usr/local/lib/python3.7/site-packages/numpy/core/multiarray.py", line 12, in <module>
  5. from . import overrides
  6. File "/usr/local/lib/python3.7/site-packages/numpy/core/overrides.py", line 6, in <module>
  7. from numpy.core._multiarray_umath import (
  8. ImportError: No module named 'numpy.core._multiarray_umath'
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13. File "<pyshell#7>", line 1, in <module>
  14. import gensim
  15. File "/usr/local/lib/python3.7/site-packages/gensim/__init__.py", line 5, in <module>
  16. from gensim import parsing, corpora, matutils, interfaces, models, similarities, summarization, utils # noqa:F401
  17. File "/usr/local/lib/python3.7/site-packages/gensim/parsing/__init__.py", line 4, in <module>
  18. from .preprocessing import (remove_stopwords, strip_punctuation, strip_punctuation2, # noqa:F401
  19. File "/usr/local/lib/python3.7/site-packages/gensim/parsing/preprocessing.py", line 42, in <module>
  20. from gensim import utils
  21. File "/usr/local/lib/python3.7/site-packages/gensim/utils.py", line 38, in <module>
  22. import numpy as np
  23. File "/usr/local/lib/python3.7/site-packages/numpy/__init__.py", line 142, in <module>
  24. from . import core
  25. File "/usr/local/lib/python3.7/site-packages/numpy/core/__init__.py", line 71, in <module>
  26. raise ImportError(msg)
  27. ImportError:
  28.  
  29. IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
  30.  
  31. Importing the multiarray numpy extension module failed. Most
  32. likely you are trying to import a failed build of numpy.
  33. Here is how to proceed:
  34. - If you're working with a numpy git repository, try `git clean -xdf`
  35. (removes all files not under version control) and rebuild numpy.
  36. - If you are simply trying to use the numpy version that you have installed:
  37. your installation is broken - please reinstall numpy.
  38. - If you have already reinstalled and that did not fix the problem, then:
  39. 1. Check that you are using the Python you expect (you're using /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5),
  40. and that you have no directories in your PATH or PYTHONPATH that can
  41. interfere with the Python and numpy versions you're trying to use.
  42. 2. If (1) looks fine, you can open a new issue at
  43. https://github.com/numpy/numpy/issues. Please include details on:
  44. - how you installed Python
  45. - how you installed numpy
  46. - your operating system
  47. - whether or not you have multiple versions of Python installed
  48. - if you built from source, your compiler versions and ideally a build log
  49.  
  50. Note: this error has many possible causes, so please don't comment on
  51. an existing issue about this - open a new one instead.
  52.  
  53. Original error was: No module named 'numpy.core._multiarray_umath'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement