使用Anaconda2 和 Pycharm搭建Python IDE
2016-03-27 10:05
453 查看
一 下载地址:
Anaconda2 https://www.continuum.io/downloadsPycharm2016 https://www.jetbrains.com/pycharm/download/
二 windows 下安装:
下载两个软件,先安装Anaconda2,再安装pycharm2016在Pycharm File->settings->Project **->Project Interpreter->选择Anaconda 自带的python
如下图,包含了numpy,scipy和matplotlib等常用modules:
IDE环境如下图:
三 Linux 下安装(以Ubuntu为例):
1. EnviromentOS: ubuntu 14.04 LTS, 64-bit
IDE: PyCharm 5.0.4 Community Edition
Interpreter: Python 2.7.11
2. Build a Python IDE
a. Install Python 2.7.11, Numpy and Matplotlib
The Anaconda2 is strongly recommanded, which contains
a great many packages, including numpy, scipy and matplotlib.
First install Anaconda2, for example the install shell script
‘Anaconda2-2.5.0-Linux-x86_64.sh’ in path /home/devel/Downloads.
i. Open a terminal, run:
cd /home/devel/Downloads
ii. Run:
bash Anaconda2-2.5.0-Linux-x86_64.sh
iii. Follow the orders to complete the installation.
b. Install Pycharm5
The Pycharm5 is one of the most popular python IDEs in Linux and
Windows. For example, the package ‘pycharm-community-5.0.4.tar.gz’
in path /home/devel/Downloads.
i. Open a terminal, run:
cd /home/devel/Downloads
ii. Run:
tar xfz pycharm-community-5.0.4.tar.gz
iii. Then in the current folder, folder ‘pycharm-community-5.0.4’
appears. Then go into this folder by running:
cd ./pycharm-community-5.0.4/bin
iiii. Then there should be a ‘pycharm.sh’ in the current folder.
this is the installing shell script of pycharm. Run:
bash pycharm.sh
iiiii. Follow the orders to complete the installation.
c. Set the Pycharm
The Pycharm is opened once you have completed the intallation. It’s
quite friendly to use.
i. If you never intalled the pycharm before, use the default setting
when you are asked.
ii. You can choose the python interpreter, the Python 2.7.11 contained
in anaconda2 is strongly recommended.
d. Programm in Pycharm
Following the tips or user manual, it’s not hard to use.
相关文章推荐
- Python基础--多线程
- Python基础--多线程
- python得到所有在leetcode上Accepted的代码(一)
- python简单浮点数匹配
- Python使用sqlite3操作数据库
- NumPy学习笔记2
- NumPy学习笔记1
- Python的安装及升级
- 利用python pil 实现给图片上添加文字
- Python中的url编码问题
- Python Django框架搭建
- Python学习之路
- python入门-简单数据类型
- 浅析python中的变量
- python之print
- Python:用generator构造树和遍历(探究yield和yield from)
- 每天一篇python:函数篇
- Python 程序设计语言 笔记(二)
- Mac anaconda python mysql
- Python2.6和Python3.0中八进制数字表示区别