[Python] conda activate venv is not working on vscode

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

  1. Stack

    Stack Membro Participativo

    I have installed vscode and miniconda(python version 3.13.5). Also I have created my virtual environment by the command "conda create" where python version is 3.10.1. I am facing an issue that whenever I open a powershell it is invoking following 2 lines by default

    <miniconda>/Script/activate
    conda activate <path to venv>


    But it is taking python of miniconda not the python of venv's. Also I can't notice "(venv)" at the beginning of the prompt. Even if I activate other virtual environments the powershell is always pointing to minicondas python. I am not sure what went wrong

    Can you please help to solve this.

    My intent is to set python of virtual environments not minicondas and I want to stop auto execution of activation commands during the lunch of the powershell.

    Continue reading...

Compartilhe esta Página