Anaconda with PowerShell #10532

Closed
opened 2026-01-31 02:24:04 +00:00 by claunia · 8 comments
Owner

Originally created by @peter197321 on GitHub (Sep 8, 2020).

Is it possible to document/explain adding a profile for Anaconda running within PowerShell while assuming it's installed Anaconda

Originally created by @peter197321 on GitHub (Sep 8, 2020). Is it possible to document/explain adding a profile for Anaconda running within PowerShell while assuming it's installed Anaconda
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 02:24:04 +00:00
Author
Owner

@WSLUser commented on GitHub (Sep 8, 2020):

Just add it to the commandline parameter in settings.json for Powershell.

@WSLUser commented on GitHub (Sep 8, 2020): Just add it to the `commandline` parameter in `settings.json` for Powershell.
Author
Owner

@peter197321 commented on GitHub (Sep 8, 2020):

what to add?

@peter197321 commented on GitHub (Sep 8, 2020): what to add?
Author
Owner
@WSLUser commented on GitHub (Sep 8, 2020): https://github.com/microsoft/terminal/issues/5852#issuecomment-627189853 Calling this /dupe https://github.com/microsoft/terminal/issues/5852
Author
Owner

@peter197321 commented on GitHub (Sep 8, 2020):

PS C:> cd ms-appx:///ProfileIcons/
cd : Cannot find drive. A drive with the name 'ms-appx' does not exist.
At line:1 char:1

  • cd ms-appx:///ProfileIcons/
  •   + CategoryInfo          : ObjectNotFound: (ms-appx:String)
    

[Set-Location], DriveNotFoundException
+ FullyQualifiedErrorId :
DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

PS C:>

@peter197321 commented on GitHub (Sep 8, 2020): PS C:\> cd ms-appx:///ProfileIcons/ cd : Cannot find drive. A drive with the name 'ms-appx' does not exist. At line:1 char:1 + cd ms-appx:///ProfileIcons/ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (ms-appx:String) [Set-Location], DriveNotFoundException + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand PS C:\>
Author
Owner

@peter197321 commented on GitHub (Sep 8, 2020):

& : The term 'C:\Miniconda3\shell\condabin\conda-hook.ps1' is not
recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the
path is correct and try again.
At line:1 char:3

  • & 'C:\Miniconda3\shell\condabin\conda-hook.ps1' ; cond ...
  • + CategoryInfo          : ObjectNotFound:
    

(C:\Users\conda-hook.ps1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

conda : The term 'conda' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:66

  • ... rs\nxa18908\Miniconda3\shell\condabin\conda-hook.ps1' ; conda activat
    ...
  •                                                         ~~~~~
    
    • CategoryInfo : ObjectNotFound: (conda:String) [],
      CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

PS C:\WINDOWS\System32>

@peter197321 commented on GitHub (Sep 8, 2020): & : The term 'C:\Miniconda3\shell\condabin\conda-hook.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:3 + & 'C:\Miniconda3\shell\condabin\conda-hook.ps1' ; cond ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\Users\conda-hook.ps1:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException conda : The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:66 + ... rs\nxa18908\Miniconda3\shell\condabin\conda-hook.ps1' ; conda activat ... + ~~~~~ + CategoryInfo : ObjectNotFound: (conda:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException PS C:\WINDOWS\System32>
Author
Owner

@DHowett commented on GitHub (Sep 8, 2020):

/dup #5852. Thanks @WSLUser

@DHowett commented on GitHub (Sep 8, 2020): /dup #5852. Thanks @WSLUser
Author
Owner

@ghost commented on GitHub (Sep 8, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Sep 8, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@peter197321 commented on GitHub (Sep 8, 2020):

It's not working on my side :( even issue closed. Thank you for your not useable advice!

@peter197321 commented on GitHub (Sep 8, 2020): It's not working on my side :( even issue closed. Thank you for your not useable advice!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10532