FancyImpute installation in Anaconda

前端 未结 8 585
天涯浪人
天涯浪人 2021-01-13 05:17

I was trying to install fancyimpute library on my Windows system. I am using Spyder on the Anaconda Navigator. I have tried the following on the command prompt as Administra

8条回答
  •  长发绾君心
    2021-01-13 05:39

    For those of you that couldn't get it working with other solutions, here is what I did. First:

    conda install ecos
    

    Then I went and downloaded the build wheel for both scs and cvxpy.

    To install a build wheel, all I did was navigate to the folder (in my case, in the anaconda prompt it was just cd downloads). Secondly, I ran the following commands, in order:

    pip install scs-2.1.0-cp36-cp36m-win_amd64.whl
    pip install cvxpy-1.0.22-cp36-cp36m-win_amd64.whl
    

    Then at last I could do

    pip install fancyimpute
    

    Side Note: that you can also copy paste the path to the file, pip just needs to know where it is:

    pip install C:\Users\\Downloads\scs-2.1.0-cp36-cp36m-win_amd64.whl
    pip install C:\Users\\Downloads\cvxpy-1.0.22-cp36-cp36m-win_amd64.whl
    

提交回复
热议问题