Update MACA

mirror 2024-09-27 12:08:07 +08:00
parent c93316bb17
commit 21a597397a

@ -142,14 +142,14 @@
pip install <PKG Name> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host https://repos.metax-tech.com pip install <PKG Name> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host https://repos.metax-tech.com
``` ```
### 永久配置 ### 永久配置
- **如需永久配置 PyPI 源使用以下命令** - **如需永久配置 PyPI 源,使用以下命令**
```bash ```bash
pip config set global.index-url https://repos.metax-tech.com/r/maca-pypi/simple pip config set global.index-url https://repos.metax-tech.com/r/maca-pypi/simple
pip config set global.trusted-host https://repos.metax-tech.com pip config set global.trusted-host https://repos.metax-tech.com
### 安装包及列出可用版本 ### 安装包及列出可用版本
- **对于 pip 21.0 及之前版本使用以下命令触发错误并列出包的所有可用版本** - **对于 pip 21.0 及之前版本,使用以下命令触发错误并列出包的所有可用版本**
```bash ```bash
pip install <package>== -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com pip install <package>== -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
``` ```