指定版本的python运行与指定python版本的pip

作者:袖梨 2026-06-17

1. pip在指定Python版本下安装

pip install -t D:python3.5(32bit)Libsite-packages -i https://pypi.douban.com/simple PyInstaller

注:

-t D:python3.5(32bit)Libsite-packages:这里-t后面指定位置

-i https://pypi.douban.com/simple PyInstaller:换源利用镜像加速下载

2指定版本的python运行

D:PYTHONpython.exe命令

在这里插入图片描述

相关文章

精彩推荐