Using py-spy with python3.13
First of all, thanks for creating this tool. It has been really helpful; my Frankenstein application made using Qt was freezing a lot; using py-spy to find out causes and debugging them one by one.
Just one issue, I had to migrate to python3.11 to make it work; doesn't work on python 3.13 on macos 14.6- slicon (although the latest version mentions "support added"), I was getting:
Error: Failed to open process - check if it is running.
Reason: Operation timed out (os error 60)
(I had a reason to make the application use python3.13)
I'm not sure it's related to Python 3.13. I'm using Python 3.12 on my macos Apple M3 15.3.2, and got the same problem.
Edit: Actually, there's already documentation about this : https://github.com/benfred/py-spy/#why-am-i-having-issues-profiling-usrbinpython-on-osx
This resolved my issue.