Klemens Kasseroller
02/15/2023, 12:38 PMchannels:
- conda-forge
dependencies:
- python =3.7
- flytekit==1.2.7
The error message looks like that:
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
error libmamba Could not solve for environment specs
Encountered problems while solving:
- package flytekit-1.2.7-pyhd8ed1ab_0 requires python >=3.8, but none of the providers can be installed The environment can't be solved, aborting the operation critical libmamba Could not solve for environment specs
Bernhard Stadlbauer
02/15/2023, 12:49 PMconda
packages are a thin wrapper around PyPI packages, which mostly swap out the PyPI dependencies for dependencies on conda-forge
(this is a strong simplification, but should do in the case of flytekit
)
This re-packaging is done in what’s called a feedstock (for packages on conda-forge
). In particular you can find the flytekit-feedstock
here.
When you checkout the recipe (called `meta.yaml`; the equivalent of a setup.py
or pyproject.toml
in the conda
world), you can see that for some reason, the conda package only allows python>=3.8
hereNiels Bantilan
02/15/2023, 4:21 PMKlemens Kasseroller
02/17/2023, 7:29 AM