[英]Conda Build - creating a Conda package fails on dependencies for platform win-64
Building my first conda package from a local dir. 从本地目录构建我的第一个conda包。 following instructions from CONDA site. 遵循CONDA网站的指示。 https://conda.io/docs/user-guide/tasks/build-packages/recipe.html 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']) conda_build.exception.DependencyNeedsBuildingError:平台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. 我尝试了几个项目,但似乎pywinauto,统计和openturns导致依赖问题。
here is my meta.yml file 这是我的meta.yml文件
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]
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. 您在conda版本中使用的所有软件包都必须在配置中的一个通道中作为conda软件包提供。 For your case: 对于你的情况:
conda-forge
channel: https://anaconda.org/search?q=openturns and https://anaconda.org/search?q=statistics 可通过conda conda-forge
forge频道获取统计数据和开放数据: https ://anaconda.org/search?q = openturns和https://anaconda.org/search?q=statistics pywinauto
package is not available as a conda package, so you'll have to build your own, https://anaconda.org/search?q=pywinauto This is not too difficult to do with the conda skeleton pypi
command 但是, pywinauto
软件包不能用作conda软件包,所以你必须构建自己的软件包, https ://anaconda.org/search?q = pywinauto
这对conda skeleton pypi
命令来说并不太难
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.