iovisor / iovisor/bcc

install python3-bpfcc to conda environment

Open
#5,103 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

After install `python3-bpfcc` and `libbpfcc`, the script `python3 -c "from bcc import BPF; print('BCC installed successfully')"` is OK.
But if you use `conda` environment, it will output error with `No module named 'bcc'`.
What is the way to install `python3-bpfcc` into a conda environment.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported python3-bpfcc and libbpfcc installation and the conda environment described in the issue. Reproduce the `from bcc import BPF` check inside conda, then document the supported installation path and a successful import result.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, python
Domain
documentation, tooling
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.