导入错误 numpy.core.multiarray 导入失败

时间:2021-05-09 11:28:31

标签: python

我已经成功安装了 PyPortfolioOpt-1.4.1。当我导入内置方法 expected_return 时,出现以下错误。


from pypfopt import expected_returns
\anaconda3\lib\site-packages\cvxpy\cvxcore\python\__init__.py in <module>
          1 # TODO(akshayka): This is a hack; the swig-auto-generated cvxcore.py
          2 # tries to import cvxcore as `from . import _cvxcore`
          3 import _cvxcore

ImportError: numpy.core.multiarray failed to import

0 个答案:

没有答案