支持Python 版本 3.9 - 3.14(linux-loongarch64-gnu)
uv
有两种安装方式:
export UV_EXTRA_INDEX_URL=https://mirrors.loong64.com/pypi/simple
export PIP_EXTRA_INDEX_URL=https://mirrors.loong64.com/pypi/simple
pip install -U pip
pip install uv
wget https://github.com/loong64/uv/releases/latest/download/uv-loongarch64-unknown-linux-gnu.tar.gz
tar -xf uv-loongarch64-unknown-linux-gnu.tar.gz -C /usr/local/bin --strip-components=1
uv --version
uv python list
推荐使用 venv
管理 Python 环境
uv venv --python 3.11 /opt/python3.11
. /opt/python3.11/bin/activate
python -V
免去编译 Python 的时间
也可以直接到 https://github.com/loong64/python-build-standalone/releases 项目直接下载解压使用