问题
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