benfred/py-spy

Cant get to run with uvicorn

ZeN220 opened this issue · 0 comments

Im running a web-server by means of uvicorn like command:

uvicorn --host 127.0.0.1 --port 3000 --factory my_factory

After im copying PID from uvicorn logs and trying run the py-spy:

> py-spy top --pid 22952
Error: Failed to find a python interpreter in the .data section

what im doing wrong?

My setp

Windows 11
Python 3.10
uvicorn 0.30.1
py-spy 0.3.14