mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131)
This commit is contained in:
parent
7a6f3bcc43
commit
45217af29c
2 changed files with 26 additions and 4 deletions
|
@ -83,6 +83,17 @@ The command, if run with ``-h``, will show the available options::
|
|||
particular note is that double-clicking ``python.exe`` in File Explorer
|
||||
will resolve the symlink eagerly and ignore the virtual environment.
|
||||
|
||||
.. note::
|
||||
On Microsoft Windows, it may be required to enable the ``Activate.ps1``
|
||||
script by setting the execution policy for the user. You can do this by
|
||||
issuing the following PowerShell command:
|
||||
|
||||
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||
|
||||
See `About Execution Policies
|
||||
<ttps:/go.microsoft.com/fwlink/?LinkID=135170>`_
|
||||
for more information.
|
||||
|
||||
The created ``pyvenv.cfg`` file also includes the
|
||||
``include-system-site-packages`` key, set to ``true`` if ``venv`` is
|
||||
run with the ``--system-site-packages`` option, ``false`` otherwise.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue