龙芯上的Python仓库


Python仓库用户手册

简介

Pypi.org官方仓库在没有支持LA前,龙芯将自己维护python软件生态的工作。龙芯Python仓库为官方pypi仓库的补充,主要存放支持LA架构的python源码及二进制包。

pip仓库配置

方法1:

修改配置文件~/.pip/pip.conf

loongson@loongson-pc:~$ mkdir -p ~/.pip
loongson@loongson-pc:~$ touch ~/.pip/pip.conf
loongson@loongson-pc:~$ cat ~/.pip/pip.conf
[global]
timeout = 60
index-url = https://pypi.loongnix.cn/loongson/pypi
extra-index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = 
    pypi.loongnix.cn
    pypi.tuna.tsinghua.edu.cn

方法2:

安装时,直接使用 -i 指定

loongson@loongson-pc:~$ pip3 install pandas -i https://pypi.loongnix.cn/loongson/pypi --trusted-host pypi.loongnix.cn  --extra-index-url https://pypi.org/simple --trusted-host pypi.org

查询方式

支持

如您在使用过程中遇到问题,或者有软件包需添加至仓库 https://pypi.loongnix.cn/loongson/pypi ,请联系我们。
支持邮箱:service@loongnix.cn


©龙芯开源社区 all right reserved,powered by Gitbook文档更新时间: 2025-05-30 14:47:21

results matching ""

    No results matching ""

    results matching ""

      No results matching ""