Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Troubleshooting • Re: saves .xlsx file as pi but .csv file as root

$
0
0
So you're running it as root. That's the sole cause of your problem. Stop doing that (unless something in your code requires elevated privileges). Your log also won't record anything useful as it'll have the redirected output from sudo not from your python code.
So how do I stop running it as root?

Statistics: Posted by sandy70 — Sun Mar 23, 2025 11:20 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles