Files
syscall_monitor/setup.sh
MarceloZoeng 26a5f99587
All checks were successful
CI / lint-and-build (push) Successful in 8s
中文+README
2026-06-14 12:08:27 +08:00

13 lines
336 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
# 创建启用 system-site-packages 的 venv让 apt 装的 bcc 可见),并安装 Python 依赖。
set -e
cd "$(dirname "$0")"
if [ ! -d .venv ]; then
python3 -m venv --system-site-packages .venv
fi
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r requirements.txt
echo "依赖安装完成。"