Closed bashir-abubakar closed 2 weeks ago
Hi!
Thanks for using codecarbon
. There is a bug, that sometimes there is a hanging lock file that prevents from continuing.
Normally solved by https://github.com/mlco2/codecarbon/pull/701. This fix will be included in future releases.
As a temporary workaround until the next release is ready you can find this lock file and remove it. In Linux it should be
rm /tmp/.codecarbon.lock
Sorry for the inconveniences
@bashir-abubakar if you update the codecarbon
package, the fix is included in the latest release (v2.7.4).
Feel free to test it and tell us if you still have the issue
[codecarbon WARNING @ 23:09:59] Another instance of codecarbon is already running. Exiting.
How do i quit the instance? I have restarted my system but keep getting same error in juypter notebook using
from codecarbon import EmissionsTracker tracker = EmissionsTracker()