pycharm 指定版本安装依赖包
有时候安装了几个版本的python,怎么指定版本安装包呢,直接找到路径,运行下面的命令。
如我得3.7安装在 C:PythonPython37python.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
- 除非注明,搜虎博客文章均为原创,转载请以链接形式标明本文地址
- 本文地址:https://blog.baidu-google.com/archives/pycharm-install-package.html
2222223
11112
OK