代码之家  ›  专栏  ›  技术社区  ›  Regressor

如何在mac Mojave中安装pycaret python库

  •  0
  • Regressor  · 技术社区  · 5 年前

    pycaret 麦克莫哈韦图书馆10.14。

    pip3 install pycaret

    XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run build.sh in root path?

    当我这么做的时候 conda list 我得到一个安装库的列表。但是,我在那里发现了2个xgboost库-

    xgboost                   1.0.2            py36h0130604_1    conda-forge
    xgboost                   1.1.0                     <pip>
    

    我在网上看到一些链接,其中xgboost是从源代码安装的。但是,我不想走那条路。

    最好的安装方法是什么 皮卡雷特 ?

    0 回复  |  直到 4 年前
        1
  •  0
  •   Olivia Stork Neil Kirk    4 年前

    这可能会有帮助 https://pycaret.org/install/

    对于MAC OS

    安装CMake(3.16或更高版本):

    >> brew install cmake
    Install OpenMP
    >> brew install libomp
    

    git clone --recursive https://github.com/microsoft/LightGBM ; cd LightGBM
    mkdir build ; cd build
    cmake ..
    make -j4