[Python] Poetry install on an existing project Error "does not contain any element"

Discussão em 'Python' iniciado por Stack, Setembro 23, 2024.

  1. Stack

    Stack Membro Participativo

    I am using Poetry for the first time. I have a very simple project. Basically

    a_project
    |
    |--test
    | |---test_something.py
    |
    |-script_to_test.py


    From a project I do poetry init and then poetry install

    I get the following

    poetry install
    Updating dependencies
    Resolving dependencies... (0.5s)

    Writing lock file

    Package operations: 7 installs, 0 updates, 0 removals

    • Installing attrs (22.2.0)
    • Installing exceptiongroup (1.1.0)
    • Installing iniconfig (2.0.0)
    • Installing packaging (23.0)
    • Installing pluggy (1.0.0)
    • Installing tomli (2.0.1)
    • Installing pytest (7.2.1)

    /home/me/MyStudy/2023/pyenv_practice/dos/a_project/a_project does not contain any element


    after this I can run poetry run pytest without problem but what does that error message mean?

    Continue reading...

Compartilhe esta Página