【问题标题】:installing pycaret library not completed due to an error由于错误,安装 pycaret 库未完成
【发布时间】:2023-01-07 04:12:25
【问题描述】:

我正在尝试安装 pycaret 库,但出现错误。

我尝试更新 pip 但没有任何改变

  error: could not create 'build\bdist.win-amd64\wheel\.\sklearn\datasets\tests\data\openml\292\api-v1-json-data-list-data_name-australian-limit-2-data_version-1-status-deactivated.json.gz': No such file or directory
  [end of output]note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for scikit-learn Failed to build scikit-learn

错误:无法为 scikit-learn 构建轮子,这是安装基于 pyproject.toml 的项目所必需的

【问题讨论】:

标签: python pycaret


【解决方案1】:

您要安装什么版本的 pycaret 以及您使用的是什么版本的 python?注意pycaret 2.3.x不能安装在python 3.9及以上版本。

我建议安装在 python 3.9 中工作的最新版本 3.0.0rc2

pip install -U --pre pycaret

【讨论】:

    【解决方案2】:

    PyCaret 在以下 64 位系统上经过测试和支持:

    • 蟒蛇 3.6 – 3.8
    • Python 3.9 仅适用于 Ubuntu
    • Ubuntu 16.04 或更高版本
    • Windows 7 或更高版本

    根据documentation,PyCaret 是不是兼容sklearn >= 0.23.2

    其他要求是:

    pandas 
    scipy<=1.5.4 
    seaborn 
    matplotlib 
    IPython 
    joblib 
    scikit-learn==0.23.2 
    ipywidgets 
    yellowbrick>=1.0.1 
    lightgbm>=2.3.1 
    plotly>=4.4.1 
    wordcloud 
    textblob 
    cufflinks>=0.17.0 
    umap-learn 
    pyLDAvis 
    gensim<4.0.0 
    spacy<2.4.0 
    nltk 
    mlxtend>=0.17.0 
    pyod 
    pandas-profiling>=2.8.0 
    kmodes>=0.10.1 
    mlflow 
    imbalanced-learn==0.7.0 
    scikit-plot 
    Boruta 
    pyyaml<6.0.0 
    numba<0.55
    

    【讨论】:

      猜你喜欢
      • 2022-12-18
      • 1970-01-01
      • 2022-12-12
      • 2013-07-04
      • 1970-01-01
      • 2021-04-06
      • 2019-11-22
      • 2013-10-28
      • 2021-06-01
      相关资源
      最近更新 更多