本人比较懒,喜欢将就,所以至今还在用MyEclipse 6.5,网上Python的配置都是针对MyEclipse 8以上的,现将MyEclipse 6.5 安装Python 3.X的方法简单说明如下,本人就是这么整的。
1、安装Python开发包python-3.2.5-win32.msi
2、将PyDev 2.4.0.zip解压,将features和plugins里面的东西分别复制到%MyEclipse的安装目录%\myeclipse\eclipse\的features和plugins里面3、Window –> preferences –> PyDev –> Interpreter-Python ,点击new,在弹出的对话框中填上Python.exe,选择Python.exe的文件路径(就是第1步中Python开发包的安装位置)。
4、设置编辑器编码格式:
General->Editors->Text Editors->Spelling,Encoding改成Other:UTF-8
General->Workspace,Text file encoding改成Other:UTF-8
5、添加环境变量pythonioencoding=utf8