Ubuntu14.04下安装Pycharm以及Python

1、打开终端

打开文件,点击计算机,搜索terminal,找到terminal图标,将其复制到桌面即可。

2、安装python3.5

ubuntu默认安装Python2.7和python3.4。若要安装一个python3.5,具体命令如下:

$ sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.5

3、pip安装

sudo apt-get install python-pip 安装2版本的pip
sudo apt-get install python3-pip 安装3版本的pip

4、Pycharm安装

1). 下载
http://www.jetbrains.com/pycharm/download/
选择Linux Tab,选择下载免费的Community Edition.
2). 安装PyCharm
按照官网给出的安装指导进行安装。
(1) Copy the pycharm-*.tar.gz to the desired installation location (make sure you have rw permissions for that directory)
$ cd Downloads/
(2)Unpack the pycharm-*.tar.gz using the following command: tar xfz pycharm-*.tar.gz
$ tar xfz pycharm-*.tar.gz
(3)Remove the pycharm-*.tar.gz to save disk space (optional)
$ rm pycharm-*.tar.gz
(4)Run pycharm.sh from the bin subdirectory
$ cd pycharm/bin/
$ ./pycharm.sh


3). 一直点默认即可

猜你喜欢

转载自blog.csdn.net/sunrise724/article/details/79181141
今日推荐