admin管理员组

文章数量:1592253

The Python IDE for Professional Developers - PyCharm 安装

  • 1. Download
  • 2. Installation
  • References

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

1. Download

https://www.jetbrains/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
http://xidea.online
http://idea.liyang.io

Pycharm 注册

http://idea.lanyus/
https://pan.quark/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/help/pycharm/

2.6. PyCharm

References

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

本文标签: IDEPythonProfessionalpycharmdevelopers