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

PERF_TYPE_HARDWARE #11

Open
zaddan opened this issue Jun 29, 2020 · 2 comments
Open

PERF_TYPE_HARDWARE #11

zaddan opened this issue Jun 29, 2020 · 2 comments

Comments

@zaddan
Copy link

zaddan commented Jun 29, 2020

hi,
I am trying to use your library on my ubuntu 16.04. I have followed the instruction for installation. When I try to run the test,
I get the following error:
File "/usr/local/lib/python2.7/dist-packages/profiler/init.py", line 1, in
from . profiler import *
File "/usr/local/lib/python2.7/dist-packages/profiler/profiler.py", line 11, in
import perfmon
File "/usr/local/lib/python2.7/dist-packages/perfmon/init.py", line 1, in
from .perfmon_int import *
File "/usr/local/lib/python2.7/dist-packages/perfmon/perfmon_int.py", line 98, in
PERF_TYPE_HARDWARE = _perfmon_int.PERF_TYPE_HARDWARE
AttributeError: 'module' object has no attribute 'PERF_TYPE_HARDWARE'

@VitorRamos
Copy link
Owner

Thes pip install is broken, but you should still be able to install from the source:
git clone https://github.com/VitorRamos/performance_features.git
cd performance_features && sudo ./install.sh

@zaddan
Copy link
Author

zaddan commented Jun 30, 2020

Thanks, this solved the issue.

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

2 participants