sb-ai-lab / Eco2AI

eco2AI is a python library which accumulates statistics about power consumption and CO2 emission during running code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Permisson problem with /eco2ai/data/config.txt

Mirual opened this issue · comments

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.