V
V
villanelle12022-04-19 11:56:26
PyCharm
villanelle1, 2022-04-19 11:56:26

How to solve PyCharm terminal issue?

New to python. Please tell me why the terminal gives an error and it is impossible to load the library because of this .. How to fix it ?? Writes
Unable to load file C:\Users\User\PycharmProjects\pythonProject2\venv\Scripts\activate.ps1 because scripting is disabled on this system. For
more information, see about_Execution_Policies at https://go.microsoft.com/fwlink/?LinkID=135170.
+ CategoryInfo : Security Error: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS C:\Users\User\PycharmProjects\pythonProject2>

Attached screenshot:
625e78a89f687133959111.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Nesterov, 2022-04-19
@AlexNest

Set-ExecutionPolicy Unrestricted #Позволит запускать любые скрипты (более низкий уровень безопасности)
Set-ExecutionPolicy RemoteSigned # Позволит запускать локальные скрипты

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question