Intellij IDEA15 编写Python

Intellij IDEA15:建立Python 工程

原文地址 https://blog.****.net/weixin_41659384/article/details/80636535

五个步鄹:

1)Windows中Python安装

2)Intellij IDEA15中Python安装

3)Intellij IDEA15建立Python项目

4)编辑Python脚本

5)安装pip
Windows中Python安装:
Intellij IDEA15 编写Python
Intellij IDEA15中Python安装:
Intellij IDEA15 编写Python
Intellij IDEA15建立Python项目
Intellij IDEA15 编写Python
Intellij IDEA15 编写Python
Intellij IDEA15 编写Python
Intellij IDEA15 编写Python
编辑Python脚本
Intellij IDEA15 编写Python
Intellij IDEA15 编写Python
Intellij IDEA15 编写Python
5)安装pip
Intellij IDEA15 编写Python
1、如果上面的错误,则是没有引入urllib的包,需要通过pip进行引入。

2、pip引入的命令为pip install urllib ,默认安装在C:\Python27\Lib\site-packages

3、pip未安装,则进入命令行,然后把目录切换到python的安装目录下的Script文件夹下,运行 easy_inatall pip。

这样就可以引入python的package