Python2.7.11:  https://www.python.org/ftp/python/2.7.11/python-2.7.11.amd64.msi

Python3.4.4:  https://www.python.org/ftp/python/3.4.4/python-3.4.4.amd64.msi

PyCharm: https://d1opms6zj7jotq.cloudfront.net/python/pycharm-professional-2016.1.2.exe

安装Python2.7.11

选择"Install for all users"

Windows2012中Python2.7.11+Python3.4.4+Pycharm

安装路径"C:\Python27\"

Windows2012中Python2.7.11+Python3.4.4+Pycharm

启用"Add python.exe to Path"

Windows2012中Python2.7.11+Python3.4.4+Pycharm

安装完成

Windows2012中Python2.7.11+Python3.4.4+Pycharm

安装Python3.4.4

选择"Install for all users"

Windows2012中Python2.7.11+Python3.4.4+Pycharm

安装路径"C:\Python34\"

Windows2012中Python2.7.11+Python3.4.4+Pycharm

启用"Add python.exe to Path"

Windows2012中Python2.7.11+Python3.4.4+Pycharm

安装完成

Windows2012中Python2.7.11+Python3.4.4+Pycharm

将"C:\Python34\pythonw.exe","C:\Python34\python.exe"分别改名为"C:\Python34\pythonw3.exe","C:\Python34\python3.exe"

将"C:\Python34\Scripts\pip.exe","C:\Python34\Scripts\easy_install.exe"删除

配置完成。调用 python 启动的就是 v2,调用 python3 启动 v3

Windows2012中Python2.7.11+Python3.4.4+Pycharm

更新pip

python -m pip install -U pip
python3 -m pip install -U pip

Windows2012中Python2.7.11+Python3.4.4+Pycharm

使用 pip install package 给 v2 安装 package
使用 pip3 install package 给 v3 安装 package

安装PyCharm

双击 pycharm-professional-2016.1.2.exe 进行安装

Windows2012中Python2.7.11+Python3.4.4+Pycharm

"32-bit launcher"和".py"前打勾

Windows2012中Python2.7.11+Python3.4.4+Pycharm

"Run OyCharm"前打勾,点击Finish,完成安装

Windows2012中Python2.7.11+Python3.4.4+Pycharm

使用PyCharm

初次安装后打开,选择“不导入我的配置”

Windows2012中Python2.7.11+Python3.4.4+Pycharm

选择"License server",填写"http://idea.qinxi1992.cn",点击OK

Windows2012中Python2.7.11+Python3.4.4+Pycharm

按照个人喜好选择按键设置和界面风格

Windows2012中Python2.7.11+Python3.4.4+Pycharm

点击Windows2012中Python2.7.11+Python3.4.4+Pycharm,选择"Add Local",分别添加python2和python3解释器

Windows2012中Python2.7.11+Python3.4.4+Pycharm

选择python3解释器,点击"Create"来创建一个Python项目

Windows2012中Python2.7.11+Python3.4.4+Pycharm

使用快捷键"Alt+Insert",新建一个Python文件

Windows2012中Python2.7.11+Python3.4.4+Pycharm   Windows2012中Python2.7.11+Python3.4.4+Pycharm

代码编写完成后,使用快捷键"Alt+Shift+F10"来执行代码

Windows2012中Python2.7.11+Python3.4.4+Pycharm

Windows2012中Python2.7.11+Python3.4.4+Pycharm

相关文章:

  • 2021-10-20
  • 2022-12-23
  • 2021-09-19
  • 2021-05-19
  • 2021-04-04
  • 2021-05-14
  • 2021-10-02
  • 2021-08-20
猜你喜欢
  • 2021-11-11
  • 2021-06-02
  • 2021-11-30
  • 2021-04-05
  • 2021-12-05
  • 2021-05-17
  • 2021-12-09
相关资源
相似解决方案