Conda Build - creating a Conda package fails on de

2019-07-04 12:13发布

Building my first conda package from a local dir. following instructions from CONDA site. https://conda.io/docs/user-guide/tasks/build-packages/recipe.html

i get the following error

conda_build.exception.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform win-64: set([u'pywinauto', u'statistics', u'openturns'])

I tried several items, however it seems the pywinauto, statistics and openturns are causing dependency issues.

here is my meta.yml file

package:
  name: apples
  version: "1.0.0"

source:
  path: ../src

target_platform:
  - win-64

requirements:
  build:
    - python
    - setuptools
    - statistics # [win64]
    - pywinauto # [win64]
    - openturns # [win64]
    - matplotlib
    - numpy
    - pandas
    - pip
    - pyodbc
    - pyqt
    - pywin32
    - qt
    - scipy
    - tqdm
    - xlwings

  run:
    - python
    - matplotlib
    - numpy
    - pandas
    - pip
    - pyodbc
    - pyqt
    - pywin32
    - qt
    - scipy
    - tqdm
    - xlwings
    - statistics # [win64]
    - pywinauto # [win64]
    - openturns # [win64]

1条回答
smile是对你的礼貌
2楼-- · 2019-07-04 12:50

All of the packages that you use in a conda build have to be available as conda packages in one of the channels in your configuration. For your case:

查看更多
登录 后发表回答