有时候安装了几个版本的python,怎么指定版本安装包呢,直接找到路径,运行下面的命令。
如我得3.7安装在 C:\Python\Python37\python.exe
##### 更新pip
C:\Python\Python37\python.exe -m pip install pip --upgrade pip
## 安装pymysql
C:\Python\Python37\python.exe -m pip install pymysql
##### 安装cryptography ---pymysql连接密码会用到
C:\Python\Python37\python.exe -m pip install cryptography
、