Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation #28

Open
philipperoose opened this issue Jun 14, 2023 · 0 comments
Open

Compilation #28

philipperoose opened this issue Jun 14, 2023 · 0 comments

Comments

@philipperoose
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant