Skip to content

Post Stopped Working After Running Init With MiniConda #985

@vetterj73

Description

@vetterj73

I am not a Python expert and I am not a Python expert either but I am trying to lean Python. I have the following line of code in my profile.psi file:

#region conda initialize

!! Contents within this block are managed by 'conda init' !!

If (Test-Path "C:\ProgramData\miniconda3\Scripts\conda.exe") {
(& "C:\ProgramData\miniconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | ?{$_} | Invoke-Expression
}
#endregion

When that is in the file Post stops working but when I remove it Posh works. Is there something that I can do or if you are more verse with Python you can tell me what I need to do in order to have miniconda and Posh in my profile?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions