After tossing all morning, it is finally installed, as follows:
Installation of Python environment:
install anaconda
It is recommended to go to https://www.anaconda.com/download/#linux to download directly with the Sohu browser on the Ubuntu interface, and download according to the system version. Select here
After downloading, open it in the "File" icon on the desktop:
Enter su bash Anaconda3-5.20-Linux-x86_64.sh
Encountered inquiries, the whole process is YES
See the picture below to show that it was successful:
If prompted, select "no", and finally "ctral+D" to exit
Then test whether the installation is successful or not, and open the terminal again:
Enter python, as shown in the figure below, it is successful:
The installation is complete!
Next, install the compilation environment pycharm
https://www.jetbrains.com/pycharm/download/#section=linux
Enter /root/download/pycharm-community-2018.1.2/bin, right click to open the terminal
OK installation complete
Add compilation environment