ubuntu 环境下pycharm的 安装与激活教程

时间:2024-02-24 10:42:17

1. 基本安装:

  1.1 打开Ubuntu的应用市场,并在搜索栏搜索pycharm,结果如下图所示

  1.2 选择pro版本进行安装,结果如下图所示:

  1.3打开安装后的pycharm,如果出现下图所示的错误

  错误解决方法

 

    安装 python3-distutils工具

    sudo apt-get install python3-distutils

    建议安装:

    python包管理工具

    sudo apt install python-pip

2. 通过官网:https://www.jetbrains.com/pycharm/download/#section=linux进行下载

  
  2.1将下载的tar.gz文件进行解压

    
  tar -xvcf tar.gz文件 

  2.2 执行命令:./pycahrm.sh 进入安装程序





  2.3 进入解压后的bin目录,并在终端中打开



3. 激活使用

3.1 修改hosts文件

Windwos系统hosts文件路径为:C:\Windows\System32\drivers\etc Mac的hosts文件路径为:/private/etc Linux的hosts文件路径为:/etc

添加下面一行到hosts文件,目的是屏蔽掉Pycharm对激活码的验证

0.0.0.0 account.jetbrains.com

如果遇到权限问题,可将hosts文件先复制出来修改后再覆盖原来的即可。

3.2 激活码(激活至2019.5.4)

(激活码源自网络,用于学习交流,不要用于商业用途,支持正版!)

K71U8DBPNE-eyJsaWNlbnNlSWQiOiJLNzFVOERCUE5FIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMTktMDUtMDQifSx7ImNvZGUiOiJXUyIsInBhaWRVcFRvIjoiMjAxOS0wNS0wNCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8iOiIyMDE5LTA1LTA0In0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6Ij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1VfOjvS+nuM4eyEruFMfaZHzoQiuw4IqgGc45ohFH0UUyjYcuFxxDSU9lMCv8qdHKm+wnPRb0l9l5vXsCBDuhAGYD6ss+Ga+aDY6f/qXZuUCEUOH3QUNbbCUlviSz6+GiRnt1kA9N2Qachl+2yBfaqUqr8h7Z2gsx5LcIf5kYNsqJ0GavXTVyWh7PYiKX4bs354ZQLUwwa/cG++2+wNWP+HtBhVxMRNTdVhSm38AknZlD+PTAsWGu9GyLmhti2EnVwGybSD2Dxmhxk3IPCkhKAK+pl0eWYGZWG3tJ9mZ7SowcXLWDFAk0lRJnKGFMTggrWjV8GYpw5bq23VmIqqDLgkNzuoog==

参考网址http://blog.csdn.net/fx677588/article/details/58164902

2018.1版本破解参考:https://blog.csdn.net/u014044812/article/details/78727496