Python integrated development Environment Pycharm installation
We completed the Jupyter installation in the previous session, we can do some simple program development work in Jupyter, but we need to have an integrated development environment (IED tool) to develop the project. And the best IDE I've got in Python right now is pycharm.
Pycharm is a python IDE with a set of tools to help users improve their productivity when using the Python language development, such as debugging, syntax highlighting, project management, code jump, smart hints, auto completion, unit testing, versioning. In addition, the IDE provides advanced features to support professional web development under the Django framework.
The first step: Download the PYCAHRM installation package, download the address below, you need to download the Linux version of the Community version (Community Edition), is free, Professional Edition is required to pay, tyrants can choose
http://www.jetbrains.com/pycharm/download/#section =linux
Step Two: pycharm-community-2017.2.tar.gz the file you just downloaded.
Upload to the CentOS system, and then extract TAR-ZXVF pycharm-community-2017.2.tar.gz, after the decompression is completed will add a folder pycharm-community-2017.2, executable file. pycharm-community-2017.2/bin/pycharm.sh
It's in this folder.
Step three: Install the Java environment, pycharm to start the environment with JDK
Yum Search JDK
Step Fourth: Download the Xmanger, and install, open the xmanager-passive, and keep the program is always in the open state
Step Fifth: Configure Xshell, Forward via X11, and forward the virtual machine image interface to the Windows interface
And you need to add VI ~/.bash_profile to the environment variables.
Export display=192.168.1.105:0.0
After the addition completes, the environment variable takes effect through source ~/.bash_profile
The IP address above is the Windows host IP address
Step Sixth: First use the command pyenv local 3.5.2 switch to 3.5.2 version of Python,
Then execute the following command under Root, and you can open pycharm.
Seventh Step: Complete the above operation through the Pycharm link python3.5.2 version of the development program
Congratulations ...
Next trailer: Python basic syntax-constant variables, operators, expressions