直接输入网址:
http://www.jetbrains.com/pycharm/download/#section=windows,
下载PyCharm安装包。
下载完毕后,按提示、选择合适的路径进行安装
点击Next,进入下图的界面
Create Desktop Shortcut创建桌面快捷方式,一个32位,一个64位,小编的电脑是64位系统,所以选择64位。
勾选Create Associations是否关联文件,选择以后打开.py文件就会用PyCharm打开。
点击Next,默认安装即可。
Pycharm安装完成后对Pycharm进行配置,双击运行Pycharm,选择Do not import settings,之后选择OK,进入下一步。
在弹出的协议内容窗口,拉到最底,然后选择Accept,进入下一步。
进入激活界面,选择第二个License server,如下图所示
输入下面注册码,Pycharm新注册码(注意需要先修改hosts文件:添加下面一行到hosts文件,目的是屏蔽掉Pycharm对激活码的验证 0.0.0.0 account.jetbrains.com,windwos系统hosts文件路径为:C:\Windows\System32\drivers\etc ,如果遇到权限问题,可将hosts文件先复制出来修改后再覆盖原来的即可。)
EB101IWSWD-eyJsaWNlbnNlSWQiOiJFQjEwMUlXU1dEIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTgtMTAtMTQifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMTgtMTAtMTQifSx7ImNvZGUiOiJXUyIsInBhaWRVcFRvIjoiMjAxOC0xMC0xNCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8iOiIyMDE4LTEwLTE0In0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6IjIwMTgtMTAtMTQifSx7ImNvZGUiOiJEQyIsInBhaWRVcFRvIjoiMjAxOC0xMC0xNCJ9LHsiY29kZSI6IkRCIiwicGFpZFVwVG8iOiIyMDE4LTEwLTE0In0sey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faqUqr8h7Z2gsx5LcIf5kYNsqJ0GavXTVyWh7PYiKX4bs354ZQLUwwa/cG++2+wNWP+HtBhVxMRNTdVhSm38AknZlD+PTAsWGu9GyLmhti2EnVwGybSD2Dxmhxk3IPCkhKAK+pl0eWYGZWG3tJ9mZ7SowcXLWDFAk0lRJnKGFMTggrWjV8GYpw5bq23VmIqqDLgkNzuoog==
之后点击OK,便可以激活Pycharm了。
之后进入下图界面:
点击Create New Project,进入如下图的界面
自定义项目存储路径,IDE默认会关联Python解释器。选择好存储路径后,点击create。
IDE提供的提示,直接close即可,不用理会。
进入的界面如下图所示,鼠标右击图中箭头指向的地方,然后选择New,最后选择python file,在弹出的框中填写文件名(任意填写),本例填写:helloworld。
文件创建成功后便可以编写自己的程序了。
大家可以自己去setting中设置自己喜欢的背景和字体大小、格式等等。
到这里大家已经实现了Pycharm的安装了。