Skip to content

Impossible to run the app due to Mistral import error #38

@ivanvaccarics

Description

@ivanvaccarics

Today I tried to install the Denario app but when I run the command

denario run

I received this error:

ImportError: cannot import name 'Mistral' from 'mistralai' (unknown location)

The issue is related to the new version of Mistral api as you can see here:

pydantic/pydantic-ai#4625

I solved by downgrading mistral version:

pip install mistralai==1.9.11

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