I have built bcc from source.
The directory where it was built was:
/home/pegasus_vm/Documents/eBPFShield/bcc/build
When I try to run python main.py -h
It throws the following error:
ImportError: cannot import name 'BPF' from 'bcc' (unknown location)
How to fix it?
I've also added bpf build to the path like this in ~/.bashrc:
I have built bcc from source. The directory where it was built was: /home/pegasus_vm/Documents/eBPFShield/bcc/build When I try to run python main.py -h It throws the following error:
ImportError: cannot import name 'BPF' from 'bcc' (unknown location)
How to fix it?I've also added bpf build to the path like this in
~/.bashrc
: