Skip to content

Python/CrewAI sample encountering dependency installation issues #241

@TarunReddy-msft

Description

@TarunReddy-msft

Description

I attempted to set up and run the crewai Agent365 sample agent using Python (3.11 / 3.13)

While installing and configuring the environment, I encountered dependency conflicts during package installation. The issue appears to be related to incompatible package versions required by the dependencies used in the project.

The problem occurs during the dependency installation step and prevents the agent environment from being set up successfully.

This appears to be related to Python dependency compatibility, rather than deployment or Microsoft Teams configuration.


Expected behavior

Dependencies should install successfully and allow the agent to run without version conflicts.


Actual behavior

During installation of dependencies using pip, multiple dependency resolution conflicts occur between required packages. These conflicts prevent the environment from being created successfully and the agent cannot run.


SDK Version

v1.1.104-preview+80f983b74e


Language / Runtime

  • Python 3.11
  • Python 3.13

OS

  • Windows 11

Steps to Reproduce

  1. Clone the Agent365 samples repository.
  2. Set up a Python environment (tested with Python 3.11 and Python 3.13).
  3. Install the project dependencies.
  4. Dependency conflicts occur during installation.

Logs / Error Output

warning: `VIRTUAL_ENV=venv` does not match the project environment path `.venv` and will be ignored; use `--active` to target the active environment instead
Resolved 148 packages in 4ms

× Failed to build `pydantic-core==2.33.2`
├─▶ The build backend returned an error
╰─▶ Call to `maturin.build_wheel` failed (exit code: 1)

Python reports SOABI: cp314-win_amd64
Computed rustc target triple: x86_64-pc-windows-msvc

error: the configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13)

help: please check if an updated version of PyO3 is available.
Current version: 0.24.1

help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI

hint: This usually indicates a problem with the package or the build environment.

help: `pydantic-core` (v2.33.2) was included because `crew-agent` (v0.1.0)
depends on `microsoft-agents-activity` (v0.9.0.dev1) which depends on
`pydantic` (v2.11.10) which depends on `pydantic-core`
Image

Result

Dependency installation fails due to incompatible package versions.

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