1、修改hosts激活:需要修改hosts,稳定无影响,持续更新,推荐~
一、修改hosts激活
1.修改hosts文件
将0.0.0.0 account.jetbrains.com和0.0.0.0 www.jetbrains.com添加到hosts文件最后,注意hosts文件无后缀,如果遇到无法修改或权限问题,可以采用覆盖的方法去替换hosts文件
修改后请检查hosts文件是否修改,激活码无法激活的原因99.99%是因为hosts没有修改正确
Windows系统hosts文件路径为:c:\windows\system32\drivers\etc
Ubantu(Linux)系统hosts文件路径为:/etc
2.复制激活码
打开PyCharm选择Activation code激活,然后复制下面的激活码点击激活。此激活码有效期为2020-03-11
56ZS5PQ1RF-eyJsaWNlbnNlSWQiOiI1NlpTNVBRMVJGIiwibGljZW5zZWVOYW1lIjoi5q2j54mI5o6I5p2DIC4iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiRm9yIGVkdWNhdGlvbmFsIHVzZSBvbmx5IiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJJSSIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IkFDIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiRFBOIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7ImNvZGUiOiJHTyIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IkRNIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiQ0wiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7ImNvZGUiOiJSQyIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8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Kjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
二、破解补丁激活
1.下载破解文件
点击链接 https://pan.baidu.com/s/16ALpz_BCXjsRkpS_PtD23A 下载补丁文件 jetbrains-agent.jar 并将它放置到 pycharm安装目录的\bin目录下
2.进入项目界面
如果你是刚下载的pycharm,则需要点击激活窗口的“Evaluate for free”免费试用,然后再创建一个空项目,这样就可以进入到pycharm的工作页面
3.修改配置文件
点击Pycharm最上面的菜单栏中的 "Help" -> "Edit Custom VM Options ...",如果提示是否要创建文件,请点"Yes"。
在打开的vmoptions编辑窗口末行添加:-javaagent:你pycharm的安装目录\jetbrains-agent.jar
请仔细检查补丁路径是否正确,如果错误则会出现Pycharm打不开的情况,这时候可以删除用户配置目录下的pycharm文件夹:
windwos:C:\Users\用户名\
macos:~/Library/Preferences/
ubuntu:~/.
修改完配置文件之后重启Pycharm
修改完配置文件之后重启Pycharm
修改完配置文件之后重启Pycharm
4.输入激活码
重启pycharm之后,点击菜单栏中的 “Help” -> “Register …”,这里有两种激活方式:
一、选择最后一种License server激活方式,地址填入:http://jetbrains-license-server (应该会自动填上),或者点击按钮:”Discover Server”来自动填充地址,完成激活
二、如果服务器激活方式无法激活,还可以选择Activation code方式激活,复制下面激活码即可
520E5894E2-eyJsaWNlbnNlSWQiOiI1MjBFNTg5NEUyIiwibGljZW5zZWVOYW1lIjoicGlnNiIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJVbmxpbWl0ZWQgbGljZW5zZSB0aWxsIGVuZCBvZiB0aGUgY2VudHVyeS4iLCJjaGV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