Skip to content

ImportError: Could not import transformers python package.  #860

@Qunlexie

Description

@Qunlexie

Describe the bug
When running via local llm in Ollama, ( Llama3.2 ) with SmartScraperMultiGraph it keeps throwing this error.

ImportError: Could not import transformers python package. This is needed in order to calculate get_token_ids. Please install it with pip install transformers. I have installed transformers manually with pip in the environment but still encounter this issue.

This is related to this unresolved but closed issue: #719.

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