2021-04-13 16:21
接下来换这个命令 pip install --use-feature=2020-resolver --target=D:/Prog ramData/Anaconda3/Lib/site-packages fancyimpute -i https://pypi.douban.com/simple 结果还是有错误提示 再次导入fancyimpute库还是会出问题
D:\ProgramData\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 _cvxcoreImportError: numpy.core.multiarray failed to import
2021-04-13 15:25
接下来我们指定安装路径之后再次重新安装 pip install --target=D:/ProgramData/Anaconda3/Lib/site-packages fancyimpute -i https://pypi.douban.com/simple 注意--target和--user不能同时使用 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency co nflicts. We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. spyder 4.1.5 requires pyqt5<5.13; python_version >= "3", which is not installed. spyder 4.1.5 requires pyqtwebengine<5.13; python_version >= "3", which is not in stalled. tensorflow 2.4.1 requires numpy~=1.19.2, but you'll have numpy 1.20.2 which is i ncompatible. 上面有错误提示,但是在那个路径下已经可以看到fancyimpute文件夹了 from fancyimpute import KNN 但是导入的时候还是出现了如下问题 File "D:\ProgramData\Anaconda3\lib\site-packages\cvxpy\cvxcore\python\__init__.py", line 3, in <module> import _cvxcore ImportError: numpy.core.multiarray failed to import

2021-04-13 15:06