[Python] alembic distribution was not found error

Discussão em 'Python' iniciado por Stack, Junho 21, 2025.

  1. Stack

    Stack Membro Participativo

    I am using alembic with virtualenv in a django project, I have created a virtual environment in path

    /ENV
    /myproject


    inside my project I have a configs/development.ini file in which I define alembic parameters

    script_location = ../ENV/bin/alembic


    when I try to run alembic

    alembic -c configs/development.ini upgrade head


    I am getting the following error

    The 'Mako' distribution was not found and is required by alembic

    Continue reading...

Compartilhe esta Página