Closed luciabouzaheguerte closed 1 year ago
Hi, i got this error when running the tool (version 0.3.5):
when running top command, it shows me the values with commas:
Desktop
To fix it, i changed line 533 of eco2ai/tools/tools_cpu.py:
from: sum_cpu += float(words[8]) to: sum_cpu += float(words[8].replace(",","."))
Can you add this to the repo? thanks! Lucía
Thank you for your comment. Your fix has been implemented. You can get the update of eco2AI from PyPi
Hi, i got this error when running the tool (version 0.3.5):
when running top command, it shows me the values with commas:
Desktop
To fix it, i changed line 533 of eco2ai/tools/tools_cpu.py:
from: sum_cpu += float(words[8]) to: sum_cpu += float(words[8].replace(",","."))
Can you add this to the repo? thanks! Lucía