r/PowerShell • u/Darcelle-Ebonis-6426 • Jul 11 '26
Question Please Help (VS Code+ Powershell)
Background : I have a CP setup (VS Code+ MINGW)
Recently I tried to Code python in VS Code. For this I connected VS Code to Anaconda Python Interpreter. After setting up the environment later in the day when I switched back to C++ and CP, my PowerShell started causing problems :
- profile.ps1 cannot be loaded because running scripts are disabled
- conda activation problems
To work with this is switched to Command Prompt
After setting up Python in VS Code I got the following errors:
PowerShell profile warning,Conda activation issues Switched integrated terminal to Command Prompt,Run button behaved differently,Debug Anyway,Abort,Show Errors,Pre-launch task failed,Exit code -1.
I tried to resolve as far as I could but one problem pops up after another. I have Reinstalled VS Code clean tried everything. Kindly help me I just want my PowerShell terminal back.
EDIT: Should I just uninstall everything clean and reinstall everything MINGW, VS CODE etc?? Will that fix this?? Cause I am tired of debugging since last 2 days. ðŸ˜ðŸ˜
EDIT2: I have completely separated my CP ans Python setup to Jupyter Notebook and Anaconda as best as I could. it's working fine and beautiful. But I just can't seem to retrieve my CP (MINGW+ VSCODE) setup
View all comments
Show parent comment
2
u/Darcelle-Ebonis-6426 Jul 11 '26
Thank you. I suspected that. And I have taken the decision to move my entire python related workspace to Jupyter Notebook and Anaconda environment. So I have done my best to completely detach CP and Python workspace. Like I disabled all extensions of Python, Pylance etc but it didn't work. Currently I Executing simple print program of cout<<" HELLO WORLD"....it doesn't even show in the output terminal. I am genuinely lost. And I am a newbie in the tech world.