Update Maca仓库使用工具帮助

mirror 2024-09-20 16:47:34 +08:00
parent 7bc7a1a75e
commit a03b9915c1

@ -18,7 +18,7 @@ yum install <package-name>-<version>-<release> 安装指定版本
### 3.PYPI ### 3.PYPI
``` ```
1. pip 21.0 及更早版本:在 pip 21.0 及之前的版本,可以使用pip install <package>== 方式触发错误并列出包的所有可用版本 1. pip 21.0 及更早版本:在 pip 21.0 及之前的版本,可以使用pip install <package>== 方式触发错误并列出包的所有可用版本
pip install triton== -i https://repos.metax-tech.com/maca-pypi/simple --trusted-host repos.metax-tech.com pip install triton== -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
``` ```
``` ```
@ -27,7 +27,7 @@ pip install triton== -i https://repos.metax-tech.com/maca-pypi/simple --truste
``` ```
3. 使用 pip index versions 命令:从 pip 21.0 之后开始,pip 引入了命令 pip index versions,用于列出某个包的所有版本. 3. 使用 pip index versions 命令:从 pip 21.0 之后开始,pip 引入了命令 pip index versions,用于列出某个包的所有版本.
pip index versions triton -i https://repos.metax-tech.com/maca-pypi/simple --trusted-host repos.metax-tech.com pip index versions triton -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
``` ```
``` ```
@ -41,6 +41,6 @@ could not find a version that satisfies the requirement <package>==
``` ```
``` ```
5.考虑到maca pypi包在安装过程中依赖第三方源,https://repos.metax-tech.com/maca-pypi/simple代理了清华源和阿里源,当`pip install triton==` 和 `pip index versions triton` 包名和第三方源包名相同,区别公司包版本:'2.0.0+mc2.23.0.23,2.1.2+metax2.24.05' 5.考虑到maca pypi包在安装过程中依赖第三方源,https://repos.metax-tech.com/r/maca-pypi/simple代理了清华源和阿里源,当`pip install triton==` 和 `pip index versions triton` 包名和第三方源包名相同,区别公司包版本:'2.0.0+mc2.23.0.23,2.1.2+metax2.24.05'
``` ```