不说废话
文档
https://pip.pypa.io/en/stable/installation/#standalone-zip-application
下载地址
https://bootstrap.pypa.io/pip/pip.pyz
用途
Windows embeded python 安装 pip
- 将
嵌入式 python下载并解压缩到python-3.11.5-embed-amd64/ - 下载
pip.pyz文件到python-3.11.5-embed-amd64/ - 在
python311._pth(根据版本号311可能是其他数字) 文件里写入
import site
pip.pyz
- 这样就可以直接 pip 安装依赖了
./python.exe -m pip install xxx