Skip to content
Discussion options

You must be logged in to vote

So I assume you are running your program normally with sudo python3 main.py, correct?

I installed Scalene as root (not recommended), but it worked. You might try this, which I verified works for me on Ubuntu.

sudo bash -c "scalene --cli ./main.py"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by emeryberger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants