Skip to content

Commit 79cfeed

Browse files
committed
gh-148932: profiling.sampling Windows limitations
Updates the docs for `profiling.sampling` to note the limitation when running in a virtual environment on Windows platform. See #149560
1 parent 1d28f9a commit 79cfeed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Doc/library/profiling.sampling.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ This requires one of:
387387
On Windows, the profiler requires administrative privileges or the
388388
``SeDebugPrivilege`` privilege to read another process's memory.
389389

390+
*Note*: Running `profiling.sampling` from a virtual environmnent on Windows platform is not supported. It should be run from the global Python installation.
391+
390392

391393
Version compatibility
392394
---------------------

0 commit comments

Comments
 (0)