Closed Guo-Yunzhe closed 1 year ago
There is no distribution of bcc, you need to compile it yourself.
Currently, the code relies on BCC for on-the-fly compilation of eBPF code, we recommend installing the latest BCC compiler
eBPF (and includes bcc
of course) does not yet work on macos, and you may use a vm to run Linux on your mac.
As far as I know, it works well on Ubuntu 22.04 and ArchLinux. A newer Linux kernel is recommended, as described in here
We provide a compiled image based on Ubuntu 22.04, so you may try it directly.
Or use the Docker image that we provide, which uses JupyterLab as the example user application, or you can modify the Dockerfile and startup script to customize the user application.
docker pull dataucon/duetector:latest
Description
First, I installed it according to the command
pip install duetector
in the readme.md this step performed normally.
When using the
sudo duectl start
command to start, it prompts:
ModuleNotFoundError: No module named 'bcc'
Reproduce
pip install duetector
sudo duectl start
Expected behavior
It shows :
Context
Error message
Configuration
Additional context