1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] poetry Virtual environment already activated

Discussão em 'Python' iniciado por Stack, Setembro 8, 2025.

  1. Stack

    Stack Membro Participativo

    Running the following

    poetry shell


    returns the following error

    /home/harshagoli/.poetry/lib/poetry/_vendor/py2.7/subprocess32.py:149: RuntimeWarning: The _posixsubprocess module is not being used. Child process reliability may suffer if your program uses threads.
    "program uses threads.", RuntimeWarning)
    The currently activated Python version 2.7.17 is not supported by the project (^3.7).
    Trying to find and use a compatible version.
    Using python3 (3.7.5)
    Virtual environment already activated: /home/harshagoli/.cache/pypoetry/virtualenvs/my-project-0wt3KWFj-py3.7


    How can I get past this error? Why doesn't this command work?

    Continue reading...

Compartilhe esta Página