Cannot use miniconda in terminal. #3449

Closed
opened 2026-01-30 23:21:32 +00:00 by claunia · 5 comments
Owner

Originally created by @sorenwacker on GitHub (Aug 16, 2019).

Hi,

it seems miniconda is not working with the terminal. I added the condabin directory to the windows path. activate is found, but when I activate a particular environment by running activate mint, and type which python the terminal returns `

C:\Users<Username>\AppData\Local\Microsoft\WindowsApps\python.EXE

Which is actually not even a python version!

Originally created by @sorenwacker on GitHub (Aug 16, 2019). Hi, it seems miniconda is not working with the terminal. I added the condabin directory to the windows path. `activate` is found, but when I activate a particular environment by running `activate mint`, and type `which python` the terminal returns ` > C:\Users\<Username>\AppData\Local\Microsoft\WindowsApps\python.EXE Which is actually not even a python version!
claunia added the Resolution-By-DesignNeeds-TriageNeeds-Tag-Fix labels 2026-01-30 23:21:32 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 16, 2019):

If you’re using miniconda from powershell please make sure you are following the miniconda powershell instructions. The CMD instructions won’t work from powershell.

@DHowett-MSFT commented on GitHub (Aug 16, 2019): If you’re using miniconda from powershell please make sure you are following the miniconda powershell instructions. The CMD instructions won’t work from powershell.
Author
Owner

@kliberty commented on GitHub (Aug 18, 2019):

@soerendip

I was able to add a Conda tab by editing the settings file with the entry below. I wasn't sure what to use for a GUID so I copied one of the others and changed a few numbers, YMMV.

{
    "acrylicOpacity": 0.5,
    "closeOnExit": true,
    "colorScheme": "Campbell",
    "commandline": "powershell.exe -ExecutionPolicy ByPass -NoExit -Command \"& '%USERPROFILE%/Miniconda3/shell/condabin/conda-hook.ps1' ; conda activate '%USERPROFILE%/Miniconda3' \"",
    "cursorColor": "#FFFFFF",
    "cursorShape": "bar",
    "fontFace": "Consolas",
    "fontSize": 10,
    "guid": "{PUT A GUID HERE}",
    "historySize": 9001,
    "icon": "%USERPROFILE%/Miniconda3/Menu/Iconleak-Atrous-PSConsole.ico",
    "name": "Conda",
    "padding": "0, 0, 0, 0",
    "snapOnInput": true,
    "startingDirectory": "%USERPROFILE%",
    "useAcrylic": false
}
@kliberty commented on GitHub (Aug 18, 2019): @soerendip I was able to add a Conda tab by editing the settings file with the entry below. I wasn't sure what to use for a GUID so I copied one of the others and changed a few numbers, YMMV. ``` { "acrylicOpacity": 0.5, "closeOnExit": true, "colorScheme": "Campbell", "commandline": "powershell.exe -ExecutionPolicy ByPass -NoExit -Command \"& '%USERPROFILE%/Miniconda3/shell/condabin/conda-hook.ps1' ; conda activate '%USERPROFILE%/Miniconda3' \"", "cursorColor": "#FFFFFF", "cursorShape": "bar", "fontFace": "Consolas", "fontSize": 10, "guid": "{PUT A GUID HERE}", "historySize": 9001, "icon": "%USERPROFILE%/Miniconda3/Menu/Iconleak-Atrous-PSConsole.ico", "name": "Conda", "padding": "0, 0, 0, 0", "snapOnInput": true, "startingDirectory": "%USERPROFILE%", "useAcrylic": false } ```
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 18, 2019):

The GUID doesn’t matter. You can also just delete it and let WT generate a new one for you.

@DHowett-MSFT commented on GitHub (Aug 18, 2019): The GUID doesn’t matter. You can also just delete it and let WT generate a new one for you.
Author
Owner

@sorenwacker commented on GitHub (Aug 19, 2019):

What is WT? I am talking about the thing that is called Terminal that is supposedly the new Windows Subsystem for Linux.


From: Dustin L. Howett (MSFT) notifications@github.com
Sent: Monday, August 19, 2019 3:24 PM
To: microsoft/terminal
Cc: Sören; Mention
Subject: Re: [microsoft/terminal] Cannot use miniconda in terminal. (#2453)

Closed #2453https://github.com/microsoft/terminal/issues/2453.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/terminal/issues/2453?email_source=notifications&email_token=AAZ4A7WKARZ2VQ3TGVEWDPTQFMFSNA5CNFSM4IMJ4JL2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTEGE3YI#event-2567720417, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAZ4A7XRVUYHD27FEY667A3QFMFSNANCNFSM4IMJ4JLQ.

@sorenwacker commented on GitHub (Aug 19, 2019): What is WT? I am talking about the thing that is called Terminal that is supposedly the new Windows Subsystem for Linux. ________________________________ From: Dustin L. Howett (MSFT) <notifications@github.com> Sent: Monday, August 19, 2019 3:24 PM To: microsoft/terminal Cc: Sören; Mention Subject: Re: [microsoft/terminal] Cannot use miniconda in terminal. (#2453) Closed #2453<https://github.com/microsoft/terminal/issues/2453>. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<https://github.com/microsoft/terminal/issues/2453?email_source=notifications&email_token=AAZ4A7WKARZ2VQ3TGVEWDPTQFMFSNA5CNFSM4IMJ4JL2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTEGE3YI#event-2567720417>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAZ4A7XRVUYHD27FEY667A3QFMFSNANCNFSM4IMJ4JLQ>.
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 20, 2019):

WT is windows terminal, and it is not the new Windows Subsystem for Linux. It is a new terminal where you can use WSL, WSL2, cmd, powershell, bash, whatever you want.

@DHowett-MSFT commented on GitHub (Aug 20, 2019): WT is windows terminal, and it is _not_ the new Windows Subsystem for Linux. It is a new terminal where you can _use_ WSL, WSL2, cmd, powershell, bash, whatever you want.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3449