sb-ai-lab / Eco2AI

eco2AI is a python library which accumulates statistics about power consumption and CO2 emission during running code.
Apache License 2.0
226 stars 18 forks source link

Permisson problem with /eco2ai/data/config.txt #13

Open Mirual opened 6 months ago

Mirual commented 6 months ago

Hi, we are enjoying using your lib, but we have some problem, that isn't critical.

We have this lib on our linux servers and when user without root trying use this lib, he always has this problem. image

The problem is solved by changing the write permissions in the /eco2ai/data/config.txt file to 777 But it would be nice if you changed this in your code, it might be better to create this file in the user's home directory every time. It's minor problem, but after solving this problem, your lib would be better)

With respect, Mikhail R.