What does conda-build not like about this version number?

落花浮王杯 提交于 2021-02-08 11:28:26

问题


Python / Anaconda newbie here. I am trying to work with packages and multiple environments.

Right now I'm trying to install the package "ibm_watson" which is available through PyPi. Here's the story so far:

conda skeleton pypi ibm_watson

This worked, but it generated a meta.yaml which conda-build didn't like. It had a version string ">=2.0," with an extraneous comma. I had to hand edit that out. Where is that error happening? Anyway, I got past that. Here's where I'm stuck now.

conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform osx-64: {"python_dateutil[version='>=2.5.3']"}

OK, fine. It thinks I need a version of python_dateutil which is at least 2.5.3. But here's the problem:

> conda list | grep dateutil
python-dateutil   2.8.0    py37_0

It certainly seems to me as if 2.8.0 should satisfy the requirement of being more than 2.5.3. So what is causing this error and how do I get past it?

(Actually, I forgot. ibm_watson also had another dependency error, requiring ibm_cloud_sdk_core. So actually this particular error happened after trying to build THAT package. But also in the original build attempt for ibm_watson).

来源:https://stackoverflow.com/questions/60217164/what-does-conda-build-not-like-about-this-version-number

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!