Skip to content

Conda Error caused by wrong activate command #1313

@WaterMinding

Description

@WaterMinding

System Info

System: WSL2 Debian in Windows 11
Conda Version: Miniforge3: conda 25.7.0
Vscode Version: 1.109.5
Shell: Fish
Python Extension Version: 2026.2.0
Python Environments Extension Version: 1.20.1

Problem

When the extension auto-activates the conda environment, it wrongly uses /home/Rains/miniforge3/bin/conda activate to activate the environment. This command will not successfully activate the conda environment.
However, it is supposed to use conda activate which is able to activate the environment.

> /home/username/miniforge3/bin/conda activate graduation (base) 

CondaError: Run 'conda init' before 'conda activate'

Others

I only found this bug in version 1.20.1. All the versions before this uses the correct activate command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions