[Python] Is it possible to include Ollama directly in my Python project?

Discussão em 'Python' iniciado por Stack, Fevereiro 19, 2025.

  1. Stack

    Stack Membro Participativo

    I'd like to create a Python program with Ollama (llama3.2, or 3.3) included in my package, so that the user doesn't need to install it separately when installing my program.

    I've done it with Tesseract-OCR, but it doesn't seem to work there...

    Anyone knows if it is possible and how to do it?

    I've tried adding a folder containing all the Ollama files and dependencies, as you would for a Windows installation, to my Python project.

    I've done the same with Tesseract and it works with Tesseract OCR.

    Continue reading...

Compartilhe esta Página