Skip to content

Compilation #28

@philipperoose

Description

@philipperoose

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions