[Python] Poetry Install broken, ModuleNotFoundError but Module is installed. MacOS

Discussão em 'Python' iniciado por Stack, Abril 9, 2025.

  1. Stack

    Stack Membro Participativo

    After cloning and setting up my repo I use a poetry install

    When running the code, I see

    ModuleNotFoundError: No module named 'loguru'


    The package is there however:

    poetry add loguru
    The following packages are already present in the pyproject.toml and will be skipped:

    - loguru



    Which, shows a python version I am not sure is right.

    which python
    /opt/miniconda3/bin/python


    I have tried to force the issues with

    poetry env use 3.11.11


    and also trying to use pyenv

    Continue reading...

Compartilhe esta Página