4 ms·
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.
by bobwaycott 8y 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.
- MetricMike 8y agohttps://github.com/benfred/py-spy#when-do-you-need-to-run-as-sudo https://github.com/benfred/py-spy#when-do-you-need-to-run-as... tl;dr - yes, it's a limitation(?) of macOS syscalls.