iovisor / iovisor/bcc

How to install the python library inside a virtualenv?

Open
#3,029 4 comments 3 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 following the instructions in the INSTALL.md file, I can successfully import `bcc` from the system python interpreter (v3.6). But I cannot import `bcc` from the python within the virtualenv (v3.7). I want to write BPF program with some 3.7 features (`time.time_ns`) How can I install the python bcc library inside a virtualenv? I'm used to installing per-virtualenv python packages using pip, but this library doesn't seem to have that option. Thanks in advance. :)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with INSTALL.md and compare its installation steps with the reported Python 3.6 system interpreter and Python 3.7 virtualenv. Verify whether the documented process covers installing and importing the Python bcc library in a virtualenv; done means the supported procedure and any limitations are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.