unit00 2020-05-06
原文地址:https://www.shuopython.com/archives/2792
Pycharm 下载和安装请参考:Python 环境配置 ,当前版本是2017.2可能安装的时候有点早,目前最新版本已经是2019版本了,所以当时文章的激活码应该都过期了,下面这个激活码可以用到2089年,亲测可用:
520E5894E2-eyJsaWNlbnNlSWQiOiI1MjBFNTg5NEUyIiwibGljZW5zZWVOYW1lIjoicGlnNiIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJVbmxpbWl0ZWQgbGljZW5zZSB0aWxsIGVuZCBvZiB0aGUgY2VudHVyeS4iLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJSRCIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiREMiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJEQiIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IlJNIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJBQyIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkRQTiIsInBhaWRVcFRvIjoiMjA4OS0wNy0wNyJ9LHsiY29kZSI6IkdPIiwicGFpZFVwVG8iOiIyMDg5LTA3LTA3In0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwODktMDctMDcifSx7ImNvZGUiOiJDTCIs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sRvqAnhR2g4b+Qzgidmuky5NUZVfEaZqV/g==
Pycharm 永久激活请参考:Pycharm 永久激活码 ,建议小伙们在激活之前,先看看下面 Pycharm 配置错误导致无法启动的问题 在继续激活操作!
激活方式分两种:
第一种补丁激活:补丁激活的时候必须是 Pycharm 版本和 jar 补丁版本一致,如果 Pycharm 是2019版本那么就用2019的jar版本,如果如果 Pycharm 是2017版本那么就用2017的jar版本
pycharm 2017.3补丁下载:提取码:of3h
pycharm 2019.3补丁下载 :提取码: quwe
第二种激活码激活:激活码前面已经给出了
很多小伙伴都留言说修改了配置(“Help” -> “Edit Custom VM Options …”)之后,Pycharm 都启动不了了,此时,我总感觉自己要被砍,只能瑟瑟发抖,别问我在哪??
100%是因为在配置补丁的时候,配置信息填写错误!!一个空格都不能错!!!一旦出错,pycharm无法正常启动!!如果pycharm版本和jar补丁版本不一致也有可能造成这个问题!!!
打开Pycharm 选择顶部菜单: “Help” -> “Edit Custom VM Options …” 的vmoptions编辑窗口末行添加:
1 | -javaagent:你pycharm的安装目录\jetbrains-agent.jar |
例如:-javaagent:G:\PyCharm 2017.3.2\bin\jet\jetbrains-agent.jar
A.由于我们在配置的过程中,错误的修改了配置文件 或者 Pycharm与jar补丁版本不一致,造成 Pycharm 无法启动,那么我们只需要将配置文件还原即可,找到对应的配置文件:
1 2 | //Mloong 是我的计算机用户名 C:\Users\Mloong\.PyCharm2017.3\config\pycharm64.exe.vmoptions |
B.编辑配置文件,删除配置文件最后一行
C.保存,关闭,重启 Pycharm