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]
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:
conda-forge
channel: https://anaconda.org/search?q=openturns and https://anaconda.org/search?q=statisticspywinauto
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 theconda skeleton pypi
command