You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm at level 0 in python :( ... I've installed piJoules with pic
Try just ton run an example:
from pyJoules import *
def foo():
print("ok");
Usage 1 (basic)
with EnergyContext:
foo()
foo()
but have a compilation error
Traceback (most recent call last):
File "/home/blabla/python/t.py", line 7, in
with EnergyContext:
NameError: name 'EnergyContext' is not defined
I use python3.10, have rapl
Any idea please?
The text was updated successfully, but these errors were encountered:
Hi all
I'm at level 0 in python :( ... I've installed piJoules with pic
Try just ton run an example:
from pyJoules import *
def foo():
print("ok");
Usage 1 (basic)
with EnergyContext:
foo()
foo()
but have a compilation error
Traceback (most recent call last):
File "/home/blabla/python/t.py", line 7, in
with EnergyContext:
NameError: name 'EnergyContext' is not defined
I use python3.10, have rapl
Any idea please?
The text was updated successfully, but these errors were encountered: