Python Forum
Problem with VS code and Anaconda
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with VS code and Anaconda
#1
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
Reply
#2
Try following the steps in the following link to see if it resolves your issue.
https://python-forum.io/Thread-VS-Code-from-start
Reply
#3
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VS Code missing in Anaconda PythonGainz 2 8,903 Jun-09-2020, 10:12 AM
Last Post: snippsat
  Code Runner In VS-Code - Problem With User Input adt 5 9,730 Sep-10-2019, 04:59 PM
Last Post: adt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020