Skip to content

Python 3.11+ Incompatibility with cyml #280

@hugdlp

Description

@hugdlp

Issue: Python 3.11+ Incompatibility with cyml

Problem

cyml fails with DistributionNotFound or ModuleNotFoundError (importlib.metadata) on recent Python versions due to deprecated pkg_resources and breaking changes in the internal metadata API.

Solution

Use a dedicated Python 3.9 environment to ensure compatibility with pycropml and openalea dependencies.

Bash

conda create -n cyml_env python=3.9
conda activate cyml_env 
pip install pandas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions