欲善其事,必先利其器。这里我为大家提供了两种pycharm激活方式(都支持最新2019版本):
修改hosts激活:需要修改hosts,稳定无影响,持续更新,推荐~
破解补丁激活:需要下载补丁,永久有效,但破解可能会遇到各种问题
pycharm汉化教程
————————更新分割线2019.04.09————————
一、修改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
Mac激活点这里:MacBook PyCharm激活码
2.复制激活码
打开PyCharm选择Activation code激活,然后复制下面的激活码点击激活。此激活码有效期为2020-03-11,大家可以关注微信公众号:裸睡的猪 或扫描下方二维码,在过期之前我会在公众号中推送新的激活码哦
56ZS5PQ1RF-eyJsaWNlbnNlSWQiOiI1NlpTNVBRMVJGIiwibGljZW5zZWVOYW1lIjoi5q2j54mI5o6I5p2DIC4iLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiRm9yIGVkdWNhdGlvbmFsIHVzZSBvbmx5IiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJJSSIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IkFDIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiRFBOIiwicGFpZFVwVG8iOiIyMDIwLTAzLTEwIn0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwMjAtMDMtMTAifSx7ImNvZGUiOiJHTyIsInBhaWRVcFRvIjoiMjAyMC0wMy0xMCJ9LHsiY29kZSI6IkRNIiwicGFpZFVwVG8i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WLl4JdR3lJkZzlpFdiHijoVRdWeSWqM4y0t23c92HXKrgppoSV18XMxrWVdoSM3nuMHwxGhFyde05OdDtLpCv+jlWf5REAHHA201pAU6bJSZINyHDUTB+Beo28rRXSwSh3OUIvYwKNVeoBY+KwOJ7WnuTCUq1meE6GkKc4D/cXmgpOyW/1SmBz3XjVIi/zprZ0zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
二、破解补丁激活
优点:永久期限
缺点:需要修改配置文件和下载破解文件
1.下载破解文件
点击链接 https://pan.baidu.com/s/1R_x0_YGz69mtxC61SJqinw 下载补丁文件 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
修改完配置文件之后重启Pycharm
如果错误则会出现Pycharm打不开的情况,这时候可以删除用户配置目录下的pycharm文件夹(能打开pycharm就不要删除):
windwos:C:\Users\用户名\
macos:~/Library/Preferences/
ubuntu:~/.
4.输入激活码
重启pycharm之后,点击菜单栏中的 “Help” -> “Register …”,这里有两种激活方式:
一、选择最后一种License server激活方式,地址填入:http://jetbrains-license-server (应该会自动填上),或者点击按钮:”Discover Server”来自动填充地址,完成激活
二、如果服务器激活方式无法激活,还可以选择Activation code方式激活,复制下面激活码即可
520E5894E2-eyJsaWNlbnNlSWQiOiI1MjBFNTg5NEUyIiwibGljZW5zZWVOYW1lIjoicGlnNiIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJVbmxpbWl0ZWQgbGljZW5zZSB0aWxsIGVuZCBvZiB0aGUgY2VudHVyeS4iLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJSRCIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiREMiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJEQiIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJNIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJBQyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkRQTiIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkdPIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJDTCIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlBDIiwicGFpZFVwVG8iOiIyMDg5LTA3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AplI/1nM+ZG8K+AXWgYKChtknl3sW9PCQa3a3imPL9GVToUNxc0wcuTil8mqveWcSQCHYxsIaUajWLpFzoO2AhK4mfYBSStAqEjoXRTuj17mo8Q6M2SHOcwIDAQABo4GZMIGWMAkGA1UdEwQCMAAwHQYDVR0OBBYEFGEpG9oZGcfLMGNBkY7SgHiMGgTcMEgGA1UdIwRBMD+AFKOetkhnQhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQBonMu8oa3vmNAa4RQP8gPGlX3SQaA3WCRUAj6Zrlk8AesKV1YSkh5D2l+yUk6njysgzfr1bIR5xF8eup5xXc4/G7NtVYRSMvrd6rfQcHOyK5UFJLm+8utmyMIDrZOzLQuTsT8NxFpbCVCfV5wNRu4rChrCuArYVGaKbmp9ymkw1PU6+HoO5i2wU3ikTmRv8IRjrlSStyNzXpnPTwt7bja19ousk56r40SmlmC04GdDHErr0ei2UbjUua5kw71Qn9g02tL9fERI2sSRjQrvPbn9INwRWl5+k05mlKekbtbu2ev2woJFZK4WEXAd/GaAdeZZdumv8T2idDFL7cAirJwcrbfpawPeXr52oKTPnXfi0l5+g9Gnt/wfiXCrPElX6ycTR6iL3GC2VR4jTz6YatT4Ntz59/THOT7NJQhr6AyLkhhJCdkzE2cob/KouVp4ivV7Q3Fc6HX7eepHAAF/DpxwgOrg9smX6coXLgfp0b1RU2u/tUNID04rpNxTMueTtrT8WSskqvaJd3RH8r7cnRj6Y2hltkja82HlpDURDxDTRvv+krbwMr26SB/40BjpMUrDRCeKuiBahC0DCoU/4+ze1l94wVUhdkCfL0GpJrMSCDEK+XEurU18Hb7WT+ThXbkdl6VpFdHsRvqAnhR2g4b+Qzgidmuky5NUZVfEaZqV/g==
如果两种方法都无法激活,可以加入激活群寻求帮助!
5.查看有效期
当你激活完毕后,PyCharm右下角会有个Registration小长条提示框,大致的内容为:You copy is Licensed to XXX意思就会告诉你:兄弟,你已经激活成功了,激活码的许可来源是:XXX。
查看有效期的步骤为点击:Help->About这里可以看到你的pycharm的版本号、许可来源、有效期、以及一些环境
服务器激活是没有期限的,即为永久有效
激活码激活的有效期到2089年的
三.汉化教程
Pycharm、IDEA等汉化教程
四、番外篇
1.pycharm官方使用手册
手册入口:https://www.jetbrains.com/help/pycharm/meet-pycharm.html
2.python入门与爬虫项目
这是我自己写的一个爬虫项目,主要功能是从网上爬取一些最近的电影名、列车号、航班号然后做增量修改到文件和Mongodb中去,感兴趣的同学可以看看,有不明白的地方可以在公众号里直接问我,项目入口:http://blog.csdn.net/u014044812/article/details/78894108
3.安装python解释器
很多同学在微信公众号问我怎么项目运行不了,结果是因为大家在安装pycharm后没有为项目选择解释器,如图:
解决办法是:直接点击此提示框右侧的:Configure Python interpreter 跳转设置去选择解释器
如果这里没有解释器,就点击右侧的+号,新建一个,选择好解释器之后等待一会,之前的`Configure Python interpreter`提示框就会消失
更新列表
2018.01.19 原链接针对2017.3.3版本失效,现已更新,感谢网友 afgasdg
2018.01.31 有部分同学反映老版本(2016.2.3)出现:cannot obtain ticket from https://jetlicense.nss.im/ due to connectivity problem:java.security.cert.CertificateException错误,遇到这样的问题解决方案是:步骤与原文不变只是第2步填入:http://idea.liyang.io,感谢网友 wubian2008
2018.02.03 网友反映从今天起原激活服务器https://jetlicense.nss.im/已失效,目前已经po了新的激活方式,只是比原来多了第一步修改hosts文件。
2018.02.05 原方法(http://50.112.79.106:81)导致很多同学验证失败,最新方法稳定有效,感谢网友 ciel_32shire
2018.04.03 新增服务器激活方式:http://artemis.my.to
2018.04.08 因为原服务器被封杀,更换服务器激活码方式:http://im.js.cn:8888 ,感谢微信粉丝:上帝爱掷骰子
2018.04.12 对原文章进行重构,感谢网站:http://idea.lanyus.com/提供的激活码
2018.05.24 对激活码进行更新,使过期时间延长为2019-05-04,并且更新插件
2018.06.10 更新激活服务器,增加汉化教程,感谢QQ网友:゛千城墨白ぅ.
2018.08.19 更新补丁,针对2018.2.1无法激活问题
2018.12.04 更新补丁,针对2018.3无法激活问题,感谢网友:不是萨瓦一
2019.03.02 更新补丁,针对2018.3.5版本无法激活,感谢激活群的同学反馈
2019.03.30 更新激活码,延长激活码使用时间至2020-03-11
2019.04.07 更新永久激活教程,支持2019版本,感谢pengzhile提供的补丁
---------------------
作者:猪哥66
来源:CSDN
原文:https://blog.csdn.net/u014044812/article/details/78727496
版权声明:本文为博主原创文章,转载请附上博文链接!