| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -387,6 +387,11 @@ This requires one of: | |||
| 387 | 387 | On Windows, the profiler requires administrative privileges or the | |
| 388 | 388 | ``SeDebugPrivilege`` privilege to read another process's memory. | |
| 389 | 389 | ||
| 390 | + *Note*: On Windows, ``python -m profiling.sampling`` fails inside a virtual | ||
| 391 | + environment because the venv's ``python.exe`` is just a launcher shim that | ||
| 392 | + re-executes the base interpreter as a child process. The shim itself isn't | ||
| 393 | + a Python process and has no ``PyRuntime`` section to attach to. Instead, | ||
| 394 | + run it from the global Python installation. | ||
| 390 | 395 | ||
| 391 | 396 | Version compatibility | |
| 392 | 397 | --------------------- | |
| Back | FazBrowse Home | New Git URL |
0 commit comments