在python 3.7中导入gensim时未找到numpy图像

在python 3.7中导入gensim时未找到numpy图像,numpy,scipy,anaconda,gensim,Numpy,Scipy,Anaconda,Gensim,使用gensim utils预处理NLP文本时,库调用numpy并返回(除其他外)此错误消息 IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. Here is how to p

使用gensim utils预处理NLP文本时,库调用numpy并返回(除其他外)此错误消息

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
Here is how to proceed:
- If you're working with a numpy git repository, try `git clean -xdf`
  (removes all files not under version control) and rebuild numpy.
- If you are simply trying to use the numpy version that you have installed:
  your installation is broken - please reinstall numpy.
- If you have already reinstalled and that did not fix the problem, then:
  1. Check that you are using the Python you expect (you're using /Users/lorajohns/anaconda3/bin/python),
     and that you have no directories in your PATH or PYTHONPATH that can
     interfere with the Python and numpy versions you're trying to use.
  2. If (1) looks fine, you can open a new issue at
     https://github.com/numpy/numpy/issues.  Please include details on:
     - how you installed Python
     - how you installed numpy
     - your operating system
     - whether or not you have multiple versions of Python installed
     - if you built from source, your compiler versions and ideally a build log

     Note: this error has many possible causes, so please don't comment on
     an existing issue about this - open a new one instead.

Original error was: dlopen(/Users/$(USER)/anaconda3/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libopenblas.dylib
  Referenced from: /Users/$(USER)/anaconda3/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-darwin.so
  Reason: image not found
我已经尝试过修复路径和.bash配置文件,以防这是一个与python安装竞争的案例。我使用的是venvs,因此我还卸载了可能导致冲突的任何其他虚拟环境扩展(pyenv)。我将所有软件包重新安装到新的
conda
env中,并更新了
conda
anaconda


基本上,我遵循了所有的说明,但没有成功。

这似乎与此处描述的问题类似:


您确定没有同时安装
umfpack
?您是否尝试过从头开始安装?

您是否尝试过使用不同的python版本在
env
中运行它?afaik,gensim仅“官方”支持3.6.8,而不支持上述内容(尚未)。