Conda dependencies do not install on local package build

Specifying the channel works for me.

Actually, you don’t even need to specify the full path. For instance, from the folder where the recipe is located (the meta.yaml and build.sh), I build my package with:

conda-build . --output-folder ./build

Then, I install the package with:

conda install my_package_name -c ./build

This will also install the dependencies specified in the meta.yaml. Here is how my meta.yaml looks like.

package:
  name: my_package_name
  version: 0.0.1

source:
  path: .

requirements:
  build:
    - python
    - setuptools

  run:
    - python
    - numpy
    - holopy
    - scikit-image

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)