1

I am learning how to create conda packages and I would like to understand how to specify a dependence with a specific channel

The reason I've chosen conda is that my package has a dependency that doesn't get smoothly installed from pypi. My dependency package (pycocoapi) on PyPi has its own un-specified dependency (Cython)-- thus one has to do manual preinstallation, and I need it to work out of box.

Therefore, I want to use this conda pycocotools package: conda install -c hcc pycocotools

How can I specify this dependency and its channel in a conda recipe?

Dima Lituiev
  • 12,544
  • 10
  • 41
  • 58

1 Answers1

1

conda config --append channels some-channel

For more details see this answer.

p3732
  • 11
  • 3