Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Stopped Working After Running Init With MiniConda #985

Open
vetterj73 opened this issue Jan 22, 2025 · 0 comments
Open

Post Stopped Working After Running Init With MiniConda #985

vetterj73 opened this issue Jan 22, 2025 · 0 comments

Comments

@vetterj73
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant