Skip to content

Conda does not work with fish #1096

@eleanorjboyd

Description

@eleanorjboyd

When I activate a conda env and start a fish terminal I see

~/miniconda3/bin/activate (line 2): Unsupported use of '='. In fish, please use 'set _CONDA_ROOT "/root/miniconda3"'.
_CONDA_ROOT="/root/miniconda3"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
from sourcing file ~/miniconda3/bin/activate
source: Error while reading file '/root/miniconda3/bin/activate'

I have run conda init --all, searched on web for every answer but just no one help. Please help, thanks a lot.

copied over from: microsoft/vscode-python#25727

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions