pip的基本使用方法

owofile Lv5

pip的基本使用方法

Clash for Windows代理加速pip

如果使用 HTTP 代理:

1
pip install --proxy http://127.0.0.1:7890 pyinstaller

如果使用 SOCKS 代理:

请注意,pip 默认不支持 SOCKS 代理,但可以通过其他工具(如 corkscrew)实现。

如果你仍然需要使用 SOCKS,可以考虑先将其转换为 HTTP(使用一些适配器),或者使用其他方法进行代理。

  • Title: pip的基本使用方法
  • Author: owofile
  • Created at : 2024-08-30 13:02:29
  • Updated at : 2025-04-11 21:18:27
  • Link: https://owofile.github.io/blog/2024/08/30/pip的基本使用方法/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments
On this page
pip的基本使用方法