conda-build上传过程中的软件包依赖项错误

问题描述

我正在尝试将pycaret软件包上传到anaconda,以便可以与conda install pycaret一起安装。这是issue 21,我正在研究中。

因此,我在Building conda packages with conda skeleton执行了这些步骤,并通过运行Meta.yaml创建了conda skeleton pypi pycaret文件(问题末尾的内容)。

然后,当我运行conda-build pycaret时,它抛出了依赖项错误。参见下图。

enter image description here

enter image description here

可能是因为这些软件包尚未在conda中。我用pip安装了它们,它们已经在我的conda基础环境中。

还请注意此“平台win-64的不满足依赖性”。是否有意义?我正在使用Windows 10 64位。


这是由conda skeleton

生成 Meta.yaml 内容
{% set name = "pycaret" %}
{% set version = "2.0" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
  sha256: 5db9060f9d8ba53dbfb558b41de822c5b4175223c05a3a2c3c41c71346510694

build:
  number: 0
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  host:
    - catboost
    - cufflinks >=0.17.0
    - datefinder >=0.7.0
    - datetime >=4.3
    - gensim
    - imbalanced-learn
    - ipython
    - ipywidgets
    - joblib
    - kmodes >=0.10.1
    - lightgbm >=2.3.1
    - matplotlib
    - mlflow
    - mlxtend
    - nltk
    - numpy >=1.17
    - pandas
    - pandas-profiling >=2.3.0
    - pip
    - plotly >=4.4.1
    - pyldavis
    - pyod
    - python
    - scikit-learn >=0.23
    - seaborn
    - spacy
    - textblob
    - umap-learn
    - wordcloud
    - xgboost >=0.90
    - yellowbrick >=1.0.1
  run:
    - catboost
    - cufflinks >=0.17.0
    - datefinder >=0.7.0
    - datetime >=4.3
    - gensim
    - imbalanced-learn
    - ipython
    - ipywidgets
    - joblib
    - kmodes >=0.10.1
    - lightgbm >=2.3.1
    - matplotlib
    - mlflow
    - mlxtend
    - nltk
    - numpy >=1.17
    - pandas
    - pandas-profiling >=2.3.0
    - plotly >=4.4.1
    - pyldavis
    - pyod
    - python
    - scikit-learn >=0.23
    - seaborn
    - spacy
    - textblob
    - umap-learn
    - wordcloud
    - xgboost >=0.90
    - yellowbrick >=1.0.1

test:
  imports:
    - pycaret

about:
  home: "https://github.com/pycaret/pycaret"
  license: MIT
  license_family: MIT
  license_file: 
  summary: "PyCaret - An open source,low-code machine learning library in Python."
  doc_url: 
  dev_url: 

extra:
  recipe-maintainers:
    - your-github-id-here

有什么建议吗?这是我第一次将软件包上传到conda。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...