I am having issues running cbench on ubuntu 20.04. I am running it from within the oflops directory but I keep getting this error saying the ./cbench: command not found.
And when I try to run as "bench", it throws up this error:
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 28, in
from CommandNotFound import CommandNotFound
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in
from CommandNotFound.db.db import SqliteDatabase
File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
I am not sure how to go about resolving this..i have been stuck on this for a while now.
I am having issues running cbench on ubuntu 20.04. I am running it from within the oflops directory but I keep getting this error saying the ./cbench: command not found.
And when I try to run as "bench", it throws up this error: Traceback (most recent call last): File "/usr/lib/command-not-found", line 28, in
from CommandNotFound import CommandNotFound
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in
from CommandNotFound.db.db import SqliteDatabase
File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
I am not sure how to go about resolving this..i have been stuck on this for a while now.