在做缺失值填充的时候需要用到fancyimpute这个库,Ubuntu直接pip install就能成功安装,但是windows下安装太坑啦。这里记录一下:
1、fancyimpute的依赖包里有TensorFlow,所以python需要3.5版本的;
2、直接安装fancyimpute会报错,所以首先安装cvxpy,而这个也不能直接安装,需要分成多次安装,安装方法如下:https://i-systems.github.io/HSE545/machine learning all/cvxpy_install/CVXPY%2BInstallation%2BGuide%2Bfor%2BWindows.html
3、装好之后就可以直接pip install fancyimpute啦