• 投稿

教你如何在手机上面部署astrbot

1.3万
1
2026-06-28 17:27:09
297
47
360
46
这是一些地址 napcat官网 https://napneko.github.io/ astrbot官网 https://docs.astrbot.app/what-is-astrbot.html ZeroTermux官网 https://zerotermux.dev/ DeepSeek开放平台官网 https://platform.deepseek.com/ astrbot手机版官网 https://github.com/zz6zz666/AstrBot-Android-App astrbot手机版测试版 https://github.com/MuFengDR/AstrBot-Bubble-Android-App/ 5.安装必要依赖(换源,装py3.12以及dev pip,git,中文,uv,以及基础设置) rm -rf /etc/apt/sources.list /etc/apt/sources.list.d/* && printf "deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble main restricted universe multiverse\ndeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-updates main restricted universe multiverse\ndeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-backports main restricted universe multiverse\ndeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-security main restricted universe multiverse\n" > /etc/apt/sources.list && apt update -y && apt upgrade -y && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends python3.12 python3.12-dev python3.12-venv vim sudo git curl wget build-essential openssh-client htop net-tools man-db bash-completion language-pack-zh-hans fonts-noto-cjk && python3.12 -m venv ~/venv && source ~/venv/bin/activate && pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip install --upgrade pip && pip install numpy pandas requests jupyter ipython && deactivate && rm -rf ~/venv && curl -LsSf https://astral.sh/uv/install.sh | sh && grep -q '$HOME/.local/bin' ~/.bashrc || echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && grep -q 'UV_INDEX_URL' ~/.bashrc || echo 'export UV_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"' >> ~/.bashrc && grep -q 'UV_LINK_MODE' ~/.bashrc || echo 'export UV_LINK_MODE=copy' >> ~/.bashrc && grep -q 'LANG=zh_CN.UTF-8' ~/.bashrc || echo -e 'export LANG=zh_CN.UTF-8\nexport LANGUAGE=zh_CN:zh' >> ~/.bashrc && source ~/.bashrc && apt clean && rm -rf /var/lib/apt/lists/*
客服
顶部
赛事库 课堂 2021拜年纪