安装 PyCharm (The Python IDE for Professional Developers)

本文详细介绍了PyCharm专业版的下载与安装过程,包括从JetBrains官网获取安装包,通过命令行进行解压及权限设置,以及运行PyCharm的步骤。此外,还提供了PyCharm 2023.1.5版本的配置示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The Python IDE for Professional Developers
https://www.jetbrains.com/pycharm/

1. Download

https://www.jetbrains.com/pycharm/download/other.html

PyCharm Professional Edition - PyCharm Community Edition

Download -> Previous versions / Other versions -> Version 2016.3

在这里插入图片描述

2. Installation

foreverstrong@strong:~/software$ ll
total 275612
drwxrwxr-x  2 foreverstrong foreverstrong      4096 11月  2 11:31 ./
drwxr-xr-x 20 foreverstrong foreverstrong      4096 11月  2 11:30 ../
-rw-rw-rw-  1 foreverstrong foreverstrong 282217430 11月  2 11:31 pycharm-professional-2016.3.3.tar.gz
foreverstrong@strong:~/software$ 
foreverstrong@strong:~/software$ chmod a+x pycharm-professional-2016.3.3.tar.gz 
foreverstrong@strong:~/software$ 
foreverstrong@strong:~/software$ ll
total 275612
drwxrwxr-x  2 foreverstrong foreverstrong      4096 11月  2 11:31 ./
drwxr-xr-x 20 foreverstrong foreverstrong      4096 11月  2 11:30 ../
-rwxrwxrwx  1 foreverstrong foreverstrong 282217430 11月  2 11:31 pycharm-professional-2016.3.3.tar.gz*
foreverstrong@strong:~/software$ 
foreverstrong@strong:~/software$ tar -zxv -f pycharm-professional-2016.3.3.tar.gz
foreverstrong@strong:~/software$ 
foreverstrong@strong:~/software$ ls
pycharm-2016.3.3  pycharm-professional-2016.3.3.tar.gz
foreverstrong@strong:~/software$ 
foreverstrong@strong:~/software$ cd pycharm-2016.3.3/
foreverstrong@strong:~/software/pycharm-2016.3.3$ cd bin/
foreverstrong@strong:~/software/pycharm-2016.3.3/bin$ ./pycharm.sh
Nov 02, 2018 12:57:53 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Nov 02, 2018 12:57:53 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /home/foreverstrong/.java/.userPrefs/prefs.xml
foreverstrong@strong:~/software/pycharm-2016.3.3/bin$ 

2.1. OK

在这里插入图片描述

2.2. Accept

在这里插入图片描述

2.3. Activate -> License server

License server:
http://idea.imsxm.com
http://xidea.online
http://idea.liyang.io

在这里插入图片描述

Pycharm 注册

http://idea.lanyus.com/
https://pan.quark.cn/s/cdd0b57d7ae0

pycharm-professional-2023.1.5

(base) yongqiang@yongqiang:~/software/pycharm-2023.1.5/bin$ pwd
/home/yongqiang/software/pycharm-2023.1.5/bin
(base) yongqiang@yongqiang:~/software/pycharm-2023.1.5/bin$
(base) yongqiang@yongqiang:~/software/pycharm-2023.1.5/bin$ ./pycharm.sh
...

在这里插入图片描述

Manage Licenses…

在这里插入图片描述

2.4. Create desktop entry (integrate in system menu)

在这里插入图片描述

2.5. Create New Project

/usr/bin/python2.7

在这里插入图片描述

在这里插入图片描述

pycharm-professional-2023.1.5 -> New Project

在这里插入图片描述

Previously configured interpreter

在这里插入图片描述

File -> Settings -> Python Interpreter

在这里插入图片描述

# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.


def print_hi(name):
    # Use a breakpoint in the code line below to debug your script.
    print(f'Hi, {name}')  # Press Ctrl+F8 to toggle the breakpoint.


# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    print_hi('PyCharm')

# See PyCharm help at https://www.jetbrains.com/help/pycharm/

2.6. PyCharm

在这里插入图片描述

References

[1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Yongqiang Cheng

梦想不是浮躁,而是沉淀和积累。

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值