Ubuntu下安装Pycharm专业版并激活

先在PyCharm官网下载安装包

链接:https://www.jetbrains.com/pycharm/download/#section=linux

选择平台为Linux,可以看到当前版本为2017.1.4,这里分为Professional专业版和Community社区版,区别是专业版是收费,而且功能更多,具体是什么功能我就没仔细了解了

我选择的是Professional专业版,直接点击DOWNLOAD下载就行了

下载完成后,安装包在Downloads文件夹下

右键安装包,点击“Extract Here”意思是提取到这里,相当于解压

提取完成后,会生成一个pycharm-2017.1.4的文件夹

在终端指定到pycharm-2017.1.4/bin目录下

输入“cd Downloads/pycharm-2017.1.4/bin”

执行sh命令,打开安装

输入“sh https://blog.csdn.net/DoubleIceFire/article/details/pycharm.sh”

回车后,大概等待十几秒(我的虚拟机比较卡…),出现Complete Installation弹框,

如果需要导入之前安装版本的配置的话,就选第一个,没有就选第二个。

所以这里选第二个,直接点击OK即可

点击OK之后弹出 PyCharm Privary Policy Agreement框,隐私政策协议,直接点击Accept 同意即可

然后会弹出PyCharm License Activation框,PyCharm许可证激活

Activation license with 激活许可证选择:License server

License server address许可证服务器地址填:http://sigusoft.com

然后点击“Activate”即可

进入正在安装界面,等待安装完成

安装完成后,会弹出PyCharm Initial Configuration框,PyCharm初始化配置

Keymap scheme:键盘方案,选择Eclipse,意思是设置Pycharm为Eclipse快捷键

ide theme:皮肤主题,默认Intellij。可根据自己喜欢选其他的

Editor colors and fonts:编辑器的主题,可以点击下面的“Click to hide preview”进行预览,我这里选择的是 Darcula

然后下面的Create desktop entry 默认打勾就行了

最后点击OK,完成设置

完成安装及配置

点击Craete New Project,创建一个新的项目

左边的列表选“Pure Python”

Interpreter选择安装的3.6.1版本

备注:

如果license server 不好使采用如下操作:

Linux和mac的hosts文件路径为:/etc

在hosts文件里添加如下一行,目的是屏蔽验证

0.0.0.0 account.jetbrains.com

之后在pycharm里activation code里添加如下验证码

[html]

view plain

copy

EB101IWSWD-eyJsaWNlbnNlSWQiOiJFQjEwMUlXU1dEIiwibGljZW5zZWVOYW1lIjoibGFuIHl1Iiw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