Skip to content

Ollama and ollama-python have different httpx requirements #481

@lthomas122

Description

@lthomas122

Running:

  • ollama v0.4.7
  • ollama-python v0.1.2

With httpx-0.28.1, when installing via pip install ollama-python pip returns:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ollama-python 0.1.2 requires httpx<0.27.0,>=0.26.0, but you have httpx 0.28.1 which is incompatible.

If I downgrade to httpx-0.27.0, pip returns the following:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ollama 0.4.7 requires httpx<0.29,>=0.27, but you have httpx 0.27.0 which is incompatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions