python

学习过程中总结的经验

博客园 首页 新随笔 联系 订阅 管理

1.
http://www.python.org/getit/
http://www.skycn.com/soft/59531.html

下载python运行环境

2.下载eclipse

3.在eclipse中安装pydev插件

Installing with the zip file
 
After downloading the zip file (from http://www.fabioz.com/pydev/zips), you have to extract it yourself on top of Eclipse. If you choose to do it, just make sure the plugins folder is extracted on top of the Eclipse plugins folder. After that, restart it with the '-clean' flag, to make sure Eclipse finds out about it.
 
Checking the installation
 
You can verify if it is correctly installed going to the menu 'help > about > plug in details' and checking if there are at least 5 plugins with the 'plug-in Id' starting with 'com.python.pydev' and at least other 5 starting with 'org.python.pydev' (and check if they have the version you got).

Uninstalling
 
If at any time you wish to stop using the Pydev extensions plugin (or any other Eclipse plugin), you can disable it by going to the menu 'help > software updates > manage configuration', selecting the plugin and clicking 'disable', then, you have to restart Eclipse, go to the same place again and then click on 'remove' (note that you have a button in the menu that enables you to see the 'disabled' features.

4.设置eclipse关联python运行环境
  eclipse新建python项Project interpreter not specified
安装好pydev后新建python项目时提示”Project interpreter not specified“的错误,这是因为没有导入python开发环境所致
 
 
解决方法如下:
 1.找到eclipse---->window----->freference.找到左侧栏边得pydev,展开,点击Interpreter-Python。
 2.在右侧找到New,名字可以不命名,找到python安装路径,我的是c:\python26.然后点击ok,等待导入完成,即可新建python项目

 

posted on 2011-11-07 23:57  や尐莊徍左赱  阅读(587)  评论(0编辑  收藏  举报