Hi! I using this requirements when create in step ...
# ask-metaflow
b
Hi! I using this requirements when create in step function
python3 train_flow.py --environment=conda step-functions create
Copy code
@conda_base(
    python='3.12.4',
    packages={
        'lightgbm': '4.3.0',
        'pandas': '2.2.2',
        'PyYAML': '6.0.1',
        'pyarrow': '16.1.0',
        'boto3': '1.34.106',
        'scikit-learn': '1.5.0',
        'xgboost': '2.0.3',
        'matplotlib': '3.9.2',
    }
)
But got this error
Copy code
2024-09-23 19:22:05.515 Bootstrapping virtual environment(s) ...
    Micromamba ran into an error while setting up environment:
    command '/Users/yisaienkov/.metaflowconfig/micromamba/bin/micromamba create --yes --quiet --dry-run --no-extra-safety-checks --repodata-ttl=86400 --retry-clean-cache --prefix=/var/folders/h6/938pf1pn0kv433lccz34q2100000gn/T/tmpcc1ysqo4/prefix --channel=conda-forge requests==>=2.21.0 boto3==1.34.106 lightgbm==4.3.0 pandas==2.2.2 PyYAML==6.0.1 pyarrow==16.1.0 scikit-learn==1.5.0 xgboost==2.0.3 matplotlib==3.9.2 python==3.12.4' returned error (1)
    nothing provides __glibc >=2.17,<3.0.a0 needed by matplotlib-base-3.9.2-py310h68603db_1
I tried another versions of matplotlib, but nothing helped..
s
We have a fix inflight!
d
two options: • you can try setting
CONDA_OVERRIDE_GLIBC=2.27
(or something) • use the bleeding edge pypi decorators
b
Works! Thank you!
👍 1