Python Forum
Problem with VS code and Anaconda - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Problem with VS code and Anaconda (/thread-27509.html)



Problem with VS code and Anaconda - angelica - Jun-09-2020

Hi ,

I have installed VS code and Anaconda and new to python. I am stuck with this warning and appreciate help to resolve this issue Here is my warning message:

Quote:: File C:\Users\xxxx\Documents\WindowsPowerShell\profile.ps1 cannot be
loaded because running scripts is disabled on this system. For more information,
see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:3
+ . 'C:\Users\xxxx\Documents\WindowsPowerShell\profile.ps1'

Thank you.

A


RE: Problem with VS code and Anaconda - Yoriz - Jun-09-2020

Try following the steps in the following link to see if it resolves your issue.
https://python-forum.io/Thread-VS-Code-from-start


RE: Problem with VS code and Anaconda - bishwasbh - Feb-15-2021

The solution for this is not that vast or difficult. You only need to paste "terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "Bypass"] in your settings.json file. See here how to do this: Solution for Activate.ps1 cannot be loaded in Visual Studio code