Hacker News new | ask | show | jobs
by bobwaycott 2848 days ago
Gave it a try, and wasn’t expecting to have to execute via sudo on macOS. I almost never use sudo, so this stands out as quite unexpected for a developer tool. Is there something off with my system, or are sudo privileges always going to be required on macOS?

Edit: I pip installed it into a virtualenv, if that matters.

1 comments

https://github.com/benfred/py-spy#when-do-you-need-to-run-as...

tl;dr - yes, it's a limitation(?) of macOS syscalls.